Skip to content

IBM i (AS/400) MQ QMQMSAMP Library Sample program

Notifications You must be signed in to change notification settings

vengoal/qmqmsamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qmqmsamp

IBM i (AS/400) MQ QMQMSAMP Library Sample program

qrpglesrc ILE RPG samples description

https://github.com/vengoal/qmqmsamp/blob/main/qrpglesrc/MBRLIST.txt

  • MQ Copy files for ILE RPG/400, they are supplied as members of file QRPGLESRC in library QMQM.
  • To do this for ILE RPG/400, you can use the typical IBM i commands, CRTRPGMOD and CRTPGM.

    After creating your *MODULE, you need to specify BNDSRVPGM(QMQM/LIBMQM) in the CRTPGM command. This includes the various IBM MQ procedures in your program.

    Make sure that the library containing the copy files (QMQM) is in the library list when you perform the compilation.

qcbllesrc ILE COBOL samples description

https://github.com/vengoal/qmqmsamp/blob/main/qcbllesrc/MBRLIST.txt

  • The COBOL copy files containing the named constants and structure definitions for use with the MQI are contained in the source physical file QMQM/QCBLLESRC.
  • Preparing COBOL programs in IBM i To do this for ILE COBOL, you can use the typical IBM i commands, CRTCBLMOD and CRTPGM.

    After creating your *MODULE, you need to specify BNDSRVPGM(QMQM/AMQ0STUB) in the CRTPGM command. This includes the various IBM MQ procedures in your program.

    Make sure that the library containing the copy files (QMQM) is in the library list when you perform the compilation.

qcsrc C samples description

https://github.com/vengoal/qmqmsamp/blob/main/qcsrc/MBRLIST.txt

  • The C include files containing the named constants and structure definitions for use with the MQI are contained in the source physical file QMQM/H.
  • Preparing C programs in IBM i
  • CRTCMOD and CRTPGM with BNDSRVPGM(QMQM/LIBMQM)

qclsrc CL samples description

https://github.com/vengoal/qmqmsamp/blob/main/qclsrc/MBRLIST.txt

Reference

About

IBM i (AS/400) MQ QMQMSAMP Library Sample program

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published