CICS
The CICS
compiler option enables the
integrated CICS® translator
and lets you specify CICS suboptions.
You must use the CICS
option if your COBOL source
program contains EXEC CICS
or EXEC
DLI
statements and the program has not been processed
by the separate CICS translator.
Default is: NOCICS
Abbreviations are: None
Use the CICS
option only to compile CICS programs. Programs compiled
with the CICS
option will not run in a non-CICS environment.
If you specify the NOCICS
option, any CICS statements found in the source
program are diagnosed and discarded.
Use either quotation marks or apostrophes to delimit the string of CICS suboptions.
You can partition a long CICS suboption
string into multiple suboption strings in multiple CBL
or PROCESS
statements.
The CICS suboptions are concatenated
in the order of their appearance. For example:
//STEP1 EXEC IGYWC, . . .
// PARM.COBOL='CICS("string1")'
//COBOL.SYSIN DD *
CBL CICS('string2')
CBL CICS("string3")
IDENTIFICATION DIVISION.
PROGRAM-ID. DRIVER1.
. . .
The compiler passes the following suboption string to the integrated CICS translator:
"string1 string2 string3"
The concatenated strings are delimited with single
spaces as shown. If multiple instances of the same CICS
suboption
are found, the last specification of that suboption in the concatenated
string prevails. The compiler limits the size of the concatenated
suboption string to 4 KB.
AMODE 64 considerations: When the LP(64)
compiler option is in effect, the CICS
option is not supported. If the
CICS
option is specified explicitly, a warning message is issued and the setting is
discarded.
CICS
compiler option can only be specified for the first
program in a sequence of programs (batch compilation). If you specify CICS
in a
CBL
or PROCESS
statement for a program other than the first
program in the sequence, you will receive a compiler diagnostic message.Compiling with the CICS option
Separating CICS suboptions
Defining translator options (Developing CICS Applications)