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

JCL override for an INCLUDE Member


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
GiridharanN

New User


Joined: 12 Apr 2007
Posts: 21
Location: Coimbatore

PostPosted: Mon Sep 22, 2008 10:43 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Sep 22, 2008 11:33 pm
Reply with quote

Sorry. Nothing comes to mind. Anyone else have an idea?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Sep 22, 2008 11:41 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 23, 2008 1:39 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Sep 23, 2008 4:09 am
Reply with quote

Hi,

Please show the DD statement where you need this override, I hope some idea would coin up..
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Sep 23, 2008 8:58 am
Reply with quote

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
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Library member auto insert option TSO/ISPF 3
Search our Forums:

Back to Top