Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
can we acheive below quries with overrides in jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: can we acheive below quries with overrides in jcl
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

Site Director


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

PostPosted: Mon Feb 02, 2009 12:59 pm    Post subject:
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    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 Acheive using Mainframe SAS Subhasish Sarkar All Other Mainframe Topics 13 Fri Oct 21, 2011 3:34 pm
No new posts Query on Overrides for load program's... sunny_io JCL & VSAM 16 Thu Jul 22, 2010 4:31 pm
No new posts Overrides for JCL to get right GDG in... Linda Maria Conner JCL & VSAM 1 Mon Oct 06, 2008 9:19 pm
No new posts Passing Overrides to PROC Ashsih JCL & VSAM 13 Mon May 19, 2008 10:45 am
No new posts How to give Symbolic overrides in INC... Tamanna DFSORT/ICETOOL 5 Wed Apr 25, 2007 3:05 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us