Features demonstrated in the sample programs

Table 62 shows the techniques demonstrated by the WebSphere MQ for iSeries sample programs. Some techniques occur in more than one sample program, but only one program is listed in the table. All the samples open and close queues using the MQOPEN and MQCLOSE calls, so these techniques are not listed separately in the table.

Table 62. Sample programs demonstrating use of the MQI
Technique RPG (ILE)
Using the MQCONN and MQDISC calls AMQ3ECH4
or
AMQ3INQ4
Implicitly connecting and disconnecting AMQ3PUT4
Putting messages using the MQPUT call AMQ3PUT4
Putting a single message using the MQPUT1 call AMQ3ECH4
or
AMQ3INQ4
Replying to a request message AMQ3INQ4
Getting messages (no wait) AMQ3GBR4
Getting messages (wait with a time limit) AMQ3GET4
Getting messages (with data conversion) AMQ3ECH4
Browsing a queue AMQ3GBR4
Using a shared input queue AMQ3INQ4
Using an exclusive input queue AMQ3REQ4
Using the MQINQ call AMQ3INQ4
Using the MQSET call AMQ3SET4
Using a reply-to queue AMQ3REQ4
Requesting exception messages AMQ3REQ4
Accepting a truncated message AMQ3GBR4
Using a resolved queue name AMQ3GBR4
Trigger processing AMQ3SRV4
or
AMQ3TRG4
Note:
All the sample programs produce a spool file that contains the results of the processing.