You
can write CICS programs in COBOL and run them under CICS.
After
you have installed and configured CICS, you need to prepare a COBOL program to
run under CICS. The steps are outlined below:
- Use an editor to:
- Code the program using COBOL statements and CICS commands.
- Create COBOL copybooks.
- Create the CICS screen maps that the program uses.
- Use the cicsmap command to process the screen maps.
- Use
one of the forms of the cicstcl command to
translate the CICS commands and to compile and link the program:
- Use cicstcl -p to translate, compile, and link using
the integrated CICS translator.
- Use cicstcl without the -p flag to translate,
compile, and link using the separate CICS translator.
- Define the resources for the application, such as transactions,
application programs, and files, by using the CICS Administration Utility.
- Start your CICS region by using the CICS Administration Utility.
- At your CICS terminal, run the application by entering the four-character
transaction ID that is associated with the application.
If you want to execute code using CICS ECI (External Call Interface), you
need to have CICS Client installed. Otherwise, you will encounter an error
due to a missing DLL. You also need to start CICS Client before running the
application.
related concepts
Integrated CICS translator
related tasks
Compiling and running CICS programs
TXSeries for Multiplatforms: CICS Application Programming Guide
TXSeries for Multiplatforms: CICS Administration Guide for Windows Systems
|