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 

Easytrieve and Parm

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


Joined: 08 Dec 2006
Posts: 14
Topics: 8

PostPosted: Wed Aug 29, 2007 6:36 am    Post subject: Easytrieve and Parm Reply with quote

hi,
i am passinng a value from JCL.Can i use that parm value in easytrieve to declare a file layout?
Ex:
Code:

//STEP01   EXEC  PGM=EZTPA00,PARM='1'
//IN1 DD DSN=FILENAME,DISP=SHR
//SYSIN DD *
FILE IN1         
     DATA  WS-POS 9 A

WS-PARM-INFO                  W   3  N
WS-PARM-LNTH    WS-PARM-INFO      2  N
WS-POS          WS-PARM-INFO  +2  1  A

JOB INPUT NULL START SIGNON
 DISPLAY 'DATA' DATA                           
   STOP EXECUTE                                   
SIGNON. PROC                                     
  CALL  EZTPX01  USING (PARM-REGISTER  WS-PARM-INFO)
END-PROC

If it is not possible,suggest me in this.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Aug 29, 2007 6:57 am    Post subject: Reply with quote

saraswathi,

Please search before posting. check this link

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

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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