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
 

 

What symbol must appear in the beginning of an instream proc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ARIVAZHAGAN JEGANATHAN
Currently Banned

New User


Joined: 19 May 2009
Posts: 4
Location: chennai

PostPosted: Tue May 19, 2009 2:27 pm    Post subject: What symbol must appear in the beginning of an instream proc
Reply with quote

Hi,
what symbol must appear in the beginning of an instream procedure statement to make sure that the statement is not overridden?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue May 19, 2009 2:32 pm    Post subject:
Reply with quote

Please explain why you would not want anything overridden ?
Back to top
View user's profile Send private message
ARIVAZHAGAN JEGANATHAN
Currently Banned

New User


Joined: 19 May 2009
Posts: 4
Location: chennai

PostPosted: Tue May 19, 2009 2:41 pm    Post subject: AVOIDING OVERWRITING AN INSTREAM PROCEDURE
Reply with quote

expat wrote:
Please explain why you would not want anything overridden ?

Hi,
i want a particular statement within an instream procedure to be avoided from being overridden, not the entire procedure.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue May 19, 2009 2:45 pm    Post subject:
Reply with quote

you could nest the procedure. I that makes it hard if not impossible to override.
otherwise, I don't see how to prevent someone from using proper JCL syntax to override something, especially in an instream procedure.
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Tue May 19, 2009 8:04 pm    Post subject:
Reply with quote

Dbz is correct, you can only code overrides one level down so nesting procedures would work. But if they're both instream there's nothing from keeping a clever JCL user from overriding the nested procedure from the instream procedure. From "Modifying Nest Procedures" chap 5 of the JCL reference:

Quote:
Modifying or additional JCL statements apply to one level of nesting only. You
can use statements to modify statements in a procedure only for the level of
nesting at which the EXEC statement for that procedure appears.
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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Passing information through JCL as in... Pia Baruah JCL & VSAM 5 Wed May 25, 2016 2:22 pm
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