MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
sanjayr321 Beginner Joined: 25 Sep 2006 Posts: 28 Topics: 15
Posted: Thu Jun 04, 2009 12:59 am Post subject: Compile and link edit JCL for EZT pgm - req
Hi All,
Could anyone please pass me the compile and link edit JCL for EZT programs.
I have tried with the EZTPA00 program, but its directly running the code I.E its doing compile and run,
but I need only compile and link edit JCL.
I tried with below JCL, but its failed with error message (A001 FILE OPEN ERROR) while running the code as it looks for the I/O files
Code:
/*------------------------------------------------------------
//* STEP TO COMPILE EASTRIEVE PROGRAM
//*-----------------------------------------------------------
//COMPILE EXEC PGM=EZTPA00
//STEPLIB DD DSN=SYS2.EASYPLUS.CAILIB,DISP=SHR
//EZTVFM DD UNIT=SYSDA,SPACE=(CYL,(25,25))
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSLIN DD DSN=&&SYSLIN,DISP=(MOD,PASS),UNIT=SYSDA,
// SPACE=(800,(500,500)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)
//SYSIN DD DSN=PDS.LIBRARY(PGMEZT),DISP=SHR
//*-----------------------------------------------------------
//* STEP TO LINK EDIT THE ABOVE PROGRAM
//*-----------------------------------------------------------
//LINKED EXEC PGM=HEWL
//SYSLIB DD DSN=SYS1.SCEELKED,DISP=SHR
//SYSLIN DD DSN=&&SYSLIN,DISP=(OLD,DELETE)
//* DD DDNAME=SYSIN
//SYSLMOD DD DISP=SHR,DSN=LOADLIB.LIBRAR(PGMEZT)
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,5))
//*
I don't want to the run the EZT program, just need to do the compile and link edit.
Please advise.
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
Back to top
sanjayr321 Beginner Joined: 25 Sep 2006 Posts: 28 Topics: 15
Posted: Thu Jun 04, 2009 8:36 am Post subject:
Thanks Kolusu, its working now.
Back to top
nbdtrjk1 Beginner Joined: 12 Apr 2007 Posts: 76 Topics: 41
Posted: Wed Jun 10, 2009 12:34 pm Post subject:
All,
I am not sure whether my question is sense
Can i call this module(EZTPARM) from cobol pgm??
Thanks.
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
Posted: Wed Jun 10, 2009 12:45 pm Post subject:
nbdtrjk1 ,
AFAIK Easytrieve does NOT have the capability to return the values. You can call it from cobol , but you wont get any thing back from it.
What exactly are you trying to do?
Kolusu
Back to top
nbdtrjk1 Beginner Joined: 12 Apr 2007 Posts: 76 Topics: 41
Posted: Wed Jun 10, 2009 1:15 pm Post subject:
Kolusu
Just for the knowledge i asked this question
Thanks
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum