IBM i (AS/400) MQ QMQMSAMP Library Sample program
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.
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.
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)
https://github.com/vengoal/qmqmsamp/blob/main/qclsrc/MBRLIST.txt