View previous topic :: View next topic
|
Author |
Message |
GiridharanN
New User
Joined: 12 Apr 2007 Posts: 21 Location: Coimbatore
|
|
|
|
I have 2 requirements:
1. A JCL calls an include member. The destination of one of the DD statement coded in the include member needs to be changed. This has to happen through a override in the JCL as the include member cannot be changed.
2. One entire step in the include member has to be eliminated from execution in the JCL. Again modifying the include member is not possible.
Kindly let me know your thoughts. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Sorry. Nothing comes to mind. Anyone else have an idea? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
2. One entire step in the include member has to be eliminated from execution in the JCL. Again modifying the include member is not possible. |
These are mutually incompatible statements. If you're going to eliminate a step from execution, you must change the JCL, unless condition code checks can prevent the step from running.
As far as your first requirement, I've never heard of it being done -- not to say it cannot be done, just I haven't heard of a way to do it. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest it may be time to look at the design for that process. . .
If this is a one-time need, you might copy the components and run from the copy. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Please show the DD statement where you need this override, I hope some idea would coin up.. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
as the JCL is going to require a change, why can't you include a different member with all the mentioned changes required.
If the include is in a PROC, you can call the member from a different library ie.
Code: |
// JCLLIB ORDER=(dsn1,dsn2)
|
dsn1 to contain the new/amended member
dsn2 is the normal inclib library
Gerry |
|
Back to top |
|
|
|