Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL override for an INCLUDE Member

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL override for an INCLUDE Member
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

Moderator Team Head


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

PostPosted: Mon Sep 22, 2008 11:33 pm    Post subject: Reply to: JCL OVERRIDE FOR AN INCLUDE MEMBER
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Mon Sep 22, 2008 11:41 pm    Post subject:
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

Site Director


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

PostPosted: Tue Sep 23, 2008 1:39 am    Post subject:
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

Senior Member


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

PostPosted: Tue Sep 23, 2008 4:09 am    Post subject:
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: 1703
Location: Australia

PostPosted: Tue Sep 23, 2008 8:58 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us