There are a number of steps that need to be performed to install an application program to run under CICS®.
About this task
The steps are as follows:
Procedure
-
If your compiler does not translate CICS commands, you must translate the program source code to turn CICS commands into calls that are understood by the compiler.
- If your program does not use CICS commands and is invoked only by a running transaction (and never directly by CICS task initiation), you do not need a translator step.
- You must also translate CICS command-level programs that access DL/I services through either the DL/I CALL or EXEC DLI interfaces. Applications that access Db2® services using the EXEC SQL
interface need an additional precompilation step.
-
Compile your program source to produce object code.
-
Link-edit the object module to produce a load module, which you store in an application load
library in the DFHRPL or dynamic LIBRARY concatenation.
You need additional INCLUDE statements for applications that access Db2 services using the EXEC SQL
interface.
-
Create resource definition entries, in the CSD for any
transaction that calls the program, and install them.
-
Create a resource definition entry in the CSD for the program
using one of the following methods:
- Using program autoinstall.
- Using RDO.