View previous topic :: View next topic
|
Author |
Message |
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
hi,
can we declare a proc inside a proc.....if so how to override the parameters declared in the inner proc and how to override the parameters declared in the outer proc.......how to qualify each and every variable if it exists in both the procs.........?
Thanks in advance.
pavan |
|
Back to top |
|
|
prashantshinde
New User
Joined: 25 Nov 2005 Posts: 49 Location: Pune
|
|
|
|
yes u can write proc inside the proc..upto 15 levels
To override the innermost proc parameter
stepname1.procstep1.procstep2
where stepname = ur step invoking primary ( main ) proc in jcl
procstep1 = stepname in ur primary or outermost proc which invokes inner proc
Procstep2 = stepname of innermost proc whose parameter is to be overriden
I think this should work...correct anybody if i am wrong! |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
All the details you need to know about are described here in the z/OS V1R7.0 MVS JCL Reference. |
|
Back to top |
|
|
|