Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 
proc inside the proc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: proc inside the proc
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: 44
Location: Pune

PostPosted: Thu Jun 22, 2006 2:31 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Thu Jun 22, 2006 3:48 pm    Post subject: Re: proc inside the proc
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 6 Thu Oct 27, 2016 10:20 am
No new posts Add system date inside of a PS file a... pramitdas DFSORT/ICETOOL 5 Sun Aug 28, 2016 12:06 am
No new posts New PROC not reflecting in prod even ... Musab Ahmed CA Products 9 Tue Mar 15, 2016 12:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us