In general, the COBOL language is supported in a CICS environment. However, there are restrictions and considerations that you should be aware of when you code COBOL programs to run under CICS.
Do not use EXEC, CICS, or END-EXEC as variable names, and do not use user-specified parameters to the main program. In addition, it is recommended that you not use any of the following COBOL language elements:
The following COBOL statements are also not recommended for use in a CICS environment:
Apart from some forms of the ACCEPT statement, mainframe CICS does not support any of the COBOL language elements in the preceding list. If you use any of these elements, be aware of the following limitations:
Restriction: There is no zSeries host data format support for COBOL programs that are translated by the separate or integrated CICS translator and run on TXSeries.
related tasks
Getting the system date under CICS
Making dynamic calls under CICS
Compiling and running CICS programs
Debugging CICS programs