Page 1 of 1

need help on EZT for calling DB2 COBOL

PostPosted: Tue Jan 06, 2009 11:51 pm
by tangtang
I want to create an instream EZT program, via SYSIN,
but in the EZT pgm I will need to call a DB2 program for key compution,
normally when we do this we will need to specify the PLAN/DB2 information,
but how can we do this in a instream EZT program?

I want to make the EZT pgm instream since it's a onetime data patching, while the DB2 cobol routine is available in prod already.

Re: need help on EZT for calling DB2 COBOL

PostPosted: Wed Jan 07, 2009 8:51 am
by dick scherrer
Hello and welcome to the forums,

Which release of Easytrieve is used on your system?

Several people have had problems calling a cobol module from their implementation of Easytrieve - suggest you create a very simple cobol module and make sure it can successfully be called before trying to call a cobol/db2 module.

I've not tried to call a cobol/db2 program from Easytrieve, but will look around for info once you post which release of Easytrieve you use.