MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compile and link edit JCL for EZT pgm - req

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
sanjayr321
Beginner


Joined: 25 Sep 2006
Posts: 28
Topics: 15

PostPosted: Thu Jun 04, 2009 12:59 am    Post subject: Compile and link edit JCL for EZT pgm - req Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Thu Jun 04, 2009 1:23 am    Post subject: Reply with quote

sanjayr321,

The first line in your program must be

Code:

PARM LINK(your pgm name)


check this link for an example

http://www.mvsforums.com/helpboards/viewtopic.php?p=11054#11054

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sanjayr321
Beginner


Joined: 25 Sep 2006
Posts: 28
Topics: 15

PostPosted: Thu Jun 04, 2009 8:36 am    Post subject: Reply with quote

Thanks Kolusu, its working now.
Back to top
View user's profile Send private message
nbdtrjk1
Beginner


Joined: 12 Apr 2007
Posts: 76
Topics: 41

PostPosted: Wed Jun 10, 2009 12:34 pm    Post subject: Reply with quote

All,

I am not sure whether my question is sense

Can i call this module(EZTPARM) from cobol pgm??



Thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Wed Jun 10, 2009 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
nbdtrjk1
Beginner


Joined: 12 Apr 2007
Posts: 76
Topics: 41

PostPosted: Wed Jun 10, 2009 1:15 pm    Post subject: Reply with quote

Kolusu

Just for the knowledge i asked this question

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group