0% found this document useful (0 votes)
228 views20 pages

DB2-CICS Program Compilation and Execution Process

The document outlines the 10 step process for compiling and executing a DB2-CICS program which includes: 1) compiling the program, 2) binding it, 3) signing on to CICS, 4) defining and installing a map, 5) defining and installing the program, 6) defining a DB2 connection if needed, 7) defining and installing a DB2 entry, 8) defining and installing a DB2 transaction, 9) defining and installing a transaction, and 10) running the program transaction. Screenshots are provided as examples of defining the various objects.

Uploaded by

Praveen
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
228 views20 pages

DB2-CICS Program Compilation and Execution Process

The document outlines the 10 step process for compiling and executing a DB2-CICS program which includes: 1) compiling the program, 2) binding it, 3) signing on to CICS, 4) defining and installing a map, 5) defining and installing the program, 6) defining a DB2 connection if needed, 7) defining and installing a DB2 entry, 8) defining and installing a DB2 transaction, 9) defining and installing a transaction, and 10) running the program transaction. Screenshots are provided as examples of defining the various objects.

Uploaded by

Praveen
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 20

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 Transaction using

ceda def db2t(.......)

9) Define and install the Transaction

10) Now your setup is ready and you can run your program using the
transaction 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 .

You might also like