DB2-CICS Program Compilation and Execution Process
1) Write a DB2/CICS program and compile it using DB2/CICS compailer JCL
2) Use BIND JCL for binding process
3) Now Sign on to CICS Region.
4) Define and install the Map .
5) Define and Install the Program.
6) Check whether there is any DB2 Connection. If not Create a connection using
ceda def db2c(....)
7) Define and install the DB2 Entry using
ceda def db2e(.......)
8) Define and install the DB2 Transation using
ceda def db2t(.......)
9) Define and install the Transation
10) now your setup is ready and you can run your program using the transation ID
Sample Screen shots – used for defining above process
4a. Define the map : MYMAPS
4b. Install map : MYMAPS
5a. Define the Program : PGM
5b. Install the Program : PGM
7b. Define the DB2ENTRY : VINAY
7b. INSTALL the DB2ENTRY : VINAY
8.a. DEFINE the DB2ENTRY : HARI
8.a. INSTALL the DB2ENTRY : VINAY
GROUP = VIJAY
9.a. DEFINE the transaction for the program(Pgm) : VBVB
9.b. Install the transaction for the program(Pgm) : VBVB
NOTE :
Before running this program check whether DB2 connection is defined using :
ceda def db2c(....) .. if no connection define it .
Comments