View previous topic :: View next topic |
Author |
Message |
kanitha-mvs Beginner
Joined: 17 May 2006 Posts: 26 Topics: 17
|
Posted: Thu May 21, 2009 1:14 am Post subject: Query regarding PROC name |
|
|
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 |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu May 21, 2009 1:34 am Post subject: |
|
|
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 |
|
|
vkphani Intermediate
Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Thu May 21, 2009 6:39 am Post subject: Re: Query regarding PROC name |
|
|
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 |
|
|
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Sun May 24, 2009 3:41 pm Post subject: |
|
|
The "//proc1" is for us humans. "//proc2" is a mistake or someones idea of a dirty trick. _________________ Regards, Jack.
"A problem well stated is a problem half solved" -- Charles F. Kettering |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Tue May 26, 2009 10:31 pm Post subject: |
|
|
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 |
|
|
|
|