Samples for WebSphere MQ for Windows
Table 1 shows the techniques demonstrated by the sample programs for WebSphere MQ for Windows.
WebSphere MQ for Windows sample programs demonstrating use of the MQI (C and COBOL) Technique C (source) COBOL (source) C (executable) Client (executable) Putting messages using the MQPUT call amqsput0 amq0put0 amqsput amqsputc Putting a single message using the MQPUT1 call amqsinqa amqsecha amqminq2 amqmech2 amqiinq2 amqiech2 amqsinq amqsech amqsinqc amqsechc Putting messages to a distribution list amqsptl0 amq0ptl0.cbl amqsptl amqsptlc Replying to a request message amqsinqa amqminq2 amqiinq2 amqsinq amqsinqc Getting messages (no wait) amqsgbr0 amq0gbr0 amqsgbr amqsgbrc Getting messages (wait with a time limit) amqsget0 amq0get0 amqsget amqsgetc Getting messages (unlimited wait) amqstrg0 no sample amqstrg amqstrgc Getting messages (with data conversion) amqsecha no sample amqsech amqsechc Putting Reference Messages to a queue amqsprma no sample amqsprm amqsprmc Getting Reference Messages from a queue amqsgrma no sample amqsgrm amqsgrmc Reference Message channel exit amqsqrma amqsxrma no sample amqsxrm no sample Browsing first 20 characters of a message amqsgbr0 amq0gbr0 amqsgbr amqsgbrc Browsing complete messages amqsbcg0 no sample amqsbcg amqsbcgc Using a shared input queue amqsinqa amqminq2 amqiinq2 amqsinq amqsinqc Using an exclusive input queue amqstrg0 amq0req0 amqstrg amqstrgc Using the MQINQ call amqsinqa amqminq2 amqiinq2 amqsinq amqsinqc Using the MQSET call amqsseta amqmset2 amqiset2 amqsset amqssetc Using a reply-to queue amqsreq0 amq0req0 amqsreq amqsreqc Requesting message exceptions amqsreq0 amq0req0 amqsreq amqsreqc Accepting a truncated message amqsgbr0 amq0gbr0 amqsgbr amqsgbrc Using a resolved queue name amqsgbr0 amq0gbr0 amqsgbr amqsgbrc Triggering a process amqstrg0 no sample amqstrg amqstrgc Using data conversion amqsvfc0 no sample no sample no sample WebSphere MQ (coordinating XA-compliant database managers) accessing a single database using SQL amqsxas0.sqc
DB2
amqsxas0.ec
Informixamq0xas0.sqb no sample no sample WebSphere MQ (coordinating XA-compliant database managers) accessing two databases using SQL amqsxag0.c
amqsxab0.sqc
amqsxaf0.sqcamq0xag0.cbl
amq0xab0.sqb
amq0xaf0.sqbno sample no sample TUXEDO transaction to put messages amqstxpx no sample no sample no sample TUXEDO transaction to get messages amqstxgx no sample no sample no sample Server for TUXEDO amqstxsx no sample no sample no sample Dead-letter queue handler (2) no sample amqsdlq no sample From a WebSphere MQ client, putting a message no sample no sample no sample amqsputc From a WebSphere MQ client, getting a message no sample no sample no sample amqsgetc Connecting to the queue manager using MQCONNX amqscnxc no sample no sample amqscnxc Using API exits amqsaxe0 no sample amqsaxe no sample Cluster workload balancing amqswlm0 no sample amqswlm no sample SSPI security routines amqsspin no sample amqrspin.dll amqrspin.dll Notes:
- The executable version on Windows systems is for TXSeries for Windows V5.1.
- The source for the dead-letter queue handler is made up of several files and provided in a separate directory.
Parent topic:
Features demonstrated in the sample programs
fg17020_