Prepare CICS and Transaction Server programs
To compile and link a TXSeries for Windows NT, V5.1 program using IBM VisualAge COBOL:
- Set the environment variable (enter the following on one line):
set CICS_IBMCOB_FLAGS=c:\Program Files\IBM\WebSphere MQ\Tools\ Cobol\Copybook\VAcobol;%CICS_IBMCOB_FLAGS%- Set the USERLIB environment variable:
set USERLIB=MQMCBB.LIB- Translate, compile, and link your program:
cicstcl -l IBMCOB myprog.ccpThis is described in the Transaction Server for Windows NT, V4 Application Programming Guide.
To compile and link a CICS for Windows V5 program using Micro Focus COBOL:
- Set the INCLUDE variable:
set INCLUDE=<drive>:\<programname>\ibm\websphere\tools\c\include; <drive>:\opt\cics\include;%INCLUDE%- Set the COBCPY environment variable:
setCOBCPY=<drive>:\<programname>\ibm\websphere\tools\cobol\copybook; <drive>:\opt\cics\include- Set the COBOL options:
- set
- COBOPTS=/LITLINK /NOTRUNC
and run the following code:
cicstran cicsmq00.ccp cobol cicsmq00.cbl /LITLINK /NOTRUNC cbllink -D -Mcicsmq00 -Ocicsmq00.cbmfnt cicsmq00.obj %CICSLIB%\cicsprCBMFNT.lib user32.lib msvcrt.lib kernel32.lib mqmcb32.lib
Parent topic:
Preparing COBOL programs
fg16700_