Prepare CICS and Transaction Server programs

 

To compile and link a TXSeries for Windows NT, V5.1 program using IBM VisualAge COBOL:

  1. 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%

  2. Set the USERLIB environment variable:
      set USERLIB=MQMCBB.LIB

  3. Translate, compile, and link your program:
      cicstcl -l IBMCOB myprog.ccp

This 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:

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_