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 

Assigning values to Symbolic parameters of a cataloged proc

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
butta_mvs
Beginner


Joined: 17 Aug 2003
Posts: 22
Topics: 18

PostPosted: Mon Feb 09, 2004 3:31 am    Post subject: Assigning values to Symbolic parameters of a cataloged proc Reply with quote

Assigning values to Symbolic parameters of a cataloged proc

My question is if we have symbolic parameter with same name in 2 different
procedures , how to refer them when u are calling both procs in a job?

As per my knowledge using SET we can assign values to symbolic parameters either for a catalogued procedure or for a included group(INCLUDE).Where SET should be coded in JOB stmt.

So my question is In my job i am calling two procedures named proc1 and proc2.
In proc1 and proc2 iam using the same symbolic parameter dname (DSN=&DNAME).Here
i want to assign values as DNAME=DSN1 for proc1 and DNAME=DSN2 for proc2 using SET.How can I do it.
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 -> Job Control Language(JCL) 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