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

can we acheive below quries with overrides in jcl


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

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Mon Feb 02, 2009 12:15 pm
Reply with quote

Code:
ex :

//EXXX110 JOB (@),                                           
//             '110 XXXXS',                                   
//             CLASS=0,                                           
//             MSGCLASS=X,                                       
//*                                                               
//         JCLLIB ORDER=(EXXXT.IXXX.FXXXXX.PROCLIB)             

//EXXXX110 EXEC EXXXD110,               
//             AGN=IXXXBMP,             
//             HLQ=EXXX,   
//             IMSID=IXXX,               
//             JOB=EXXXXX,

In proc :

//STEP010 EXEC PGM=IEFBR14
//---
//--

//STEP020 EXEC PGM=IEFBR14
//             COND=(0,lt)             
//---
//--

Q1) how can we comment entire step020 using overrides
Q2) How can we override only the condition code of step020 to cond=(8,lt)
Q3) How can we comment only cond code on step020 and also need to remove "," after pgm name in step020 itself

is it possible through overrides
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: Mon Feb 02, 2009 12:59 pm
Reply with quote

Hello,

Quote:
is it possible through overrides
I believe not - as presented.

By adding additional symbolic parameters for cond= situations, you could cause whatever steps you wanted to run or not run. This would only work if you could accept that a step skipped because of the condition code was the same as being commented out.

You would add symbolic parameters to both the proc statement and the exec statements. You would not be concerned about the comma in step020.
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
This topic is locked: you cannot edit posts or make replies. How to acheive Multi thread parallel ... Compuware & Other Tools 1
No new posts Acheive using Mainframe SAS All Other Mainframe Topics 13
No new posts Query on Overrides for load program's... JCL & VSAM 16
No new posts Overrides for JCL to get right GDG in... JCL & VSAM 1
No new posts Passing Overrides to PROC JCL & VSAM 13
Search our Forums:

Back to Top