IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

proc inside the proc


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Thu Jun 22, 2006 2:08 pm
Reply with quote

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
View user's profile Send private message
prashantshinde

New User


Joined: 25 Nov 2005
Posts: 49
Location: Pune

PostPosted: Thu Jun 22, 2006 2:31 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jun 22, 2006 3:48 pm
Reply with quote

All the details you need to know about are described here in the z/OS V1R7.0 MVS JCL Reference.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts calling a JCl inside a JCL JCL & VSAM 3
No new posts SRCHFOR ‘string’ command inside P... TSO/ISPF 14
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
No new posts Checking the total counts inside a re... JCL & VSAM 5
No new posts Proc print in Mainframe All Other Mainframe Topics 4
Search our Forums:

Back to Top