View previous topic :: View next topic
|
Author |
Message |
ARIVAZHAGAN JEGANATHAN Currently Banned New User
Joined: 19 May 2009 Posts: 4 Location: chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please explain why you would not want anything overridden ? |
|
Back to top |
|
|
ARIVAZHAGAN JEGANATHAN Currently Banned New User
Joined: 19 May 2009 Posts: 4 Location: chennai
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
mtaylor
Active User
Joined: 20 Feb 2009 Posts: 108 Location: Kansas City
|
|
|
|
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 |
|
|
|