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 

Query regarding PROC name

 
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
kanitha-mvs
Beginner


Joined: 17 May 2006
Posts: 26
Topics: 17

PostPosted: Thu May 21, 2009 1:14 am    Post subject: Query regarding PROC name Reply with quote

Hi,
I have a jcl that executes a proc present in a pds library.
the format of proc execution in my jcl is

//jcllib order dsn=(qual.proclib.pds)
//step01 exec proc1

The proc is defined in "qual.proclib.pds" as member proc1.
But in qual.proclib.pds(proc1), the code is as follows.

//proc2 proc
//...(jcl statements)

but this is getting correctly executed. Proc2 is expanded correctly after the statement "//step01 exec proc1" in Job.
During execution, is that the pds member name considered as proc name?
No correspondence is required between the proc definition(in procedure library) and proc call in jcl(Exec proc statement)?
Please clarify.
Thanks,
anitha.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu May 21, 2009 1:34 am    Post subject: Reply with quote

it is not like load modules and entry statements.

it is member name, regardless of what is in the member.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Thu May 21, 2009 6:39 am    Post subject: Re: Query regarding PROC name Reply with quote

Quote:
Hi,
During execution, is that the pds member name considered as proc name?

Yes member name is treated as proc name.
Back to top
View user's profile Send private message Send e-mail
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Sun May 24, 2009 3:41 pm    Post subject: Reply with quote

The "//proc1" is for us humans. "//proc2" is a mistake or someones idea of a dirty trick. Smile
_________________
Regards, Jack.

"A problem well stated is a problem half solved" -- Charles F. Kettering
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Tue May 26, 2009 10:31 pm    Post subject: Reply with quote

It's nice when the name of the PROC matches the PDS member name, but unfortunately that is not necessary as already pointed out.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
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