For DOS and Windows 3.1 only |
---|
Applications must be built using the large memory model. |
Work in your normal environment; MQSeries for OS/2 Warp requires nothing special.
The following command gives an example of compiling the sample program amqsget0:
icc amqsget0.c /Gm /Gd /B "/pmtype:vio" /Fe"amqsget0.exe" mqm.lib
Notes:
Library file | Program/exit type |
---|---|
MQICN.LIB | NetBIOS required |
MQICDN.LIB | NetBIOS not required |
MQICT.LIB | TCP/IP required |
MQICDT.LIB | TCP/IP not required |
Sample C source for a CICS MQSeries for OS/2 Warp transaction is provided by AMQSCIC0.CCS. You build it using the standard CICS facilities.
For CICS for OS/2 Version 2:
UserWrk = 'c:\mqm\dll' UserInclude = 'c:\mqm\tools\c\include;c:\mqm\tools\c\samples'
If necessary replace c:\mqm with the path on which you installed the sample code.
CICS32TC AMQSCIC0.CCS LIBS(MQM)
This is described in the CICS for OS/2 V2.0.1 Application Programming Guide.
For CICS Transaction Server for OS/2, Version 4:
UserWrk = 'c:\mqm\dll' UserInclude = 'c:\mqm\tools\c\include;c:\mqm\tools\c\samples'
If necessary replace c:\mqm with the path on which you installed the sample code.
CICSCTCL AMQSCIC0.CCS LIBS(MQM)
This is described in the Transaction Server for OS/2 Warp, V4 Application Programming Guide.
You can find more information about supporting CICS transactions in WebSphere MQ System Administration Guide.