Preparing your programs to run

To create an executable WebSphere MQ for iSeries application, you have to compile the source code you have written.

To do this for ILE RPG/400, we can use the usual OS/400 commands, CRTRPGMOD and CRTPGM.

After creating your *MODULE, we need to specify

BNDSRVPGM(QMQM/LIBMQM) in the CRTPGM command. This includes the various WebSphere 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.