Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


CICS

The CICS compiler option enables the integrated CICS translator and allows specification of 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.

Read syntax diagramSkip visual syntax diagram
CICS option syntax

   .-NOCICS------------------------------.   
>>-+-------------------------------------+---------------------><
   '-CICS--+---------------------------+-'   
           '-("CICS-suboption-string")-'     

Default is: NOCICS

Abbreviations are: None

Use the CICS option to compile CICS programs only. Programs compiled with the CICS option will not run in a non-CICS environment.

If you specify the CICS option, the compiler needs access to CICS Transaction Server Version 2 or later.

If you specify the NOCICS option, any CICS statements found in the source program are diagnosed and discarded.

Use either quotation marks or single quotation marks to delimit the string of CICS suboptions.

You can partition a long suboption string into multiple suboption strings on multiple CBL 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 option are found, the last specification of each option prevails. The compiler limits the length of the concatenated CICS suboptions string to 4 KB.

related concepts  
Integrated CICS translator

related tasks   
Compiling with the CICS option  
Separating CICS suboptions
CICS Application Programming Guide (Specifying CICS translator options)

related references   
Conflicting compiler options


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)