View previous topic :: View next topic
|
Author |
Message |
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
Hi,
Require to give TIME=5 from JCL1 to STEP2 in PROC2.
-----
JCL1
-----
//JCL1 EXEC PROC1
-----
PROC1
-----
//STEP1 EXEC PGM=ONE
//STEP2 EXEC PROC2
-------
PROC2
------
//STEP1 exec pgm=a
//STEP2 exec pgm=b
//STEP1 exec pgm=c
Thanks in advance! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
First, What have YOU already tried and what were the results |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Let me NOT rephrase my original question, but merely ask it again
expat wrote: |
First, What have YOU already tried and what were the results |
Additionally, have you referenced the materials linked to by Enrico. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Is not it a case of nested-PROCs? |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Nested PROCs are a very bad idea because of problems with overrides! |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Elixir wrote: |
How to override the Time Parameter for STEP present inside the PROC, which itself is inside other proc. |
I am of the opinion that this cannot be done. I recommend that you re-design your process. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
If possible, make the other PROC, PROC2, in-stream and then make the necerssary changes, but then it does not really qualify the very-definition of "overrides". |
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
My Requirement : Overriding a step inside nested proc(Thanks Anuj for helping me name the scenario correctly)
Valuable Suggestions : Redesigning the process(Thanks Crag and Akatsukami)
My conclusion : Overriding in nested proc's is cumbersome( Thanks Akatsukami). I modified the process by including PROC2 in the job JCL1 itself.
Thanks to all those who helped me!!!!! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
Overriding in nested proc's is cumbersome |
I'd rather say, it's not possible. |
|
Back to top |
|
|
|