Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us