How to set up a CA Easytrieve program to call a Cobol program that calls a DB2 routine.

Document ID : KB000054518
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

CA Easytrieve program calling Cobol program that is calling DB2.

Solution:

Run under
TSO, executing program IKJEFT01, specifying EZTPA00 for the program name or the linkedited ezt program and the plan name for the cobol db2 program, i.e.

// EXEC PGM=IKJEFT01
//SYSTSIN DD *
DSN SYSTEM(db2ssid)
RUN PROGRAM(EZTPA00) - for compile and go, or a linkedit pgm
PLAN (cobolplan) -
LIB (loadlib)
END