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

What symbol must appear in the beginning of an instream proc


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue May 19, 2009 2:32 pm
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
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: 6966
Location: porcelain throne

PostPosted: Tue May 19, 2009 2:45 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts trying to set return code in PROC JCL & VSAM 15
No new posts Execute DSNTEP2 in REXX which is call... CLIST & REXX 4
No new posts proc step return code to override in ... JCL & VSAM 3
Search our Forums:

Back to Top