When I submit the JCL, the STEP2 overrides are perfectly done. But the sysin, sysrec00, syspunch in STEP1 are not overridden. The spool shows "OVERRIDDEN STEP NOT FOUND IN PROCEDURE".
Note: The PROC should not be changed in any way.
Please let me know how I can overcome this overriding issue. I have searched this forum for override issues, but couldnt find my desired solution. If I have missed something please let me know.
I checked the spool and found out that DSNTIAUL is treated as a proc.
My guess is that the override is not working because nested proc is involved. I am overriding only the outer proc. Please correct me if I am wrong.
Is it possible to skip STEP1 in the proc1 and replace with another step written in the JCL itself to tailor my needs?
Thanks and Regards.
Vivek G _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Thu Apr 12, 2007 5:46 am Post subject:
I am not sure about the syntax for overriding ddnames in a nested proc because I avoid them like the plague - gets too complex and hurts my braincell. The syntax is in the manual because I was browsing for something else just an hour ago and went past it - but did not look at it. Busy now so cannot look. _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
Regards,
vivek G _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
Posted: Thu Apr 12, 2007 6:10 am Post subject:
Nic,
You CAN NOT override anything other than 1st level PROCs, so the DSNTIAUL PROC that gets called can't be overridden.
ANY semi acceptable ideas on why people use nested procs - I can't think of a single one. _________________ If it's true that we are here to help others,
then what exactly are the others here for ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum