Preparing your programs to run
To create an executable IBM MQ for IBM i application, we have to compile the source code we have written.
To do this for ILE RPG/400, we 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.
For further information concerning programming considerations, including client modes, see Language considerations.