Developing COBOL programs for CICS
About this task
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 statements and embedded CICS statements
in the source program. You can still use the separate CICS translator to translate CICS statements to COBOL code, but use of the
integrated CICS translator
is recommended instead.
After you compile and bind 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 COBOL information. For further information, see the Related tasks.
You can determine
how runtime errors are handled by setting the CBLPSHPOP
runtime
option. For information about CICS HANDLE
and CBLPSHPOP
,
see the Related tasks.
Coding COBOL programs to run under CICS
Compiling with the CICS option
Using the separate CICS translator
Handling errors by using CICS HANDLE
Language Environment® Programming Guide (Condition handling under CICS:
using the CBLPSHPOP runtime option)
Developing CICS Applications