How to set up anEasytrieve program to call a Cobol program that calls a DB2 routine.
search cancel

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

book

Article ID: 54518

calendar_today

Updated On:

Products

Easytrieve Report Generator PAN/SQL

Issue/Introduction

Easytrieve program calling Cobol program that is calling DB2.

 

Resolution

Run under TSO, executing program IKJEFT01, specifying EZTPA00 for the program name or the link-edited Easytrieve program and the plan name for the COBOL Db2 program.

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