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


Developing COBOL programs for CICS

COBOL programs that are written for CICS can run under CICS Transaction Server. CICS COBOL application programs that use CICS services must use the CICS command-level interface.

When you use the CICS compiler option, the Enterprise COBOL compiler handles both native COBOL and embedded CICS statements in the source program. Compilers before COBOL for OS/390 & VM Version 2 Release 2 require a separate translation step to convert EXEC CICS commands to COBOL code. You can still translate embedded CICS statements separately, but use of the integrated CICS translator is recommended.

To use the integrated CICS translator, CICS Transaction Server Version 2 or later is required.

After you compile and link-edit your program, you need to do some other steps such as updating CICS tables before you can run the COBOL program under CICS. However, these CICS topics are beyond the scope of this COBOL information. See the related references for further information about CICS.

You can determine how runtime errors are handled by setting the CBLPSHPOP runtime option. See the related tasks for information about CICS HANDLE and CBLPSHPOP.

related concepts  
Integrated CICS translator

related references  
CICS


Terms of use | Feedback

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