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
 

 

How to override condition perameter in Jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
shelu280

New User


Joined: 12 Jan 2009
Posts: 9
Location: chennai

PostPosted: Fri Dec 30, 2011 1:12 pm    Post subject: How to override condition perameter in Jcl
Reply with quote

i have Jcl with with 7 proc in it.
1st proc step4 give return code 4 ...
2nd proc step2 checks for condition (0,NE)..
and step gets flush ... because of rest of the proc does not work because same problem...


So can i forcefully set return code 4 to 0
so other proc do not have problem please provide me solution at job level or inside proc any changes i can do
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7254

PostPosted: Fri Dec 30, 2011 1:44 pm    Post subject: Reply to: How to override condition perameter in Jcl
Reply with quote

The step is saying "please, mister, don't execute me unless the previous step was clean".

If you correct whatever it is to prevent the 4 occurring, the problem will go away.

The JCL was presunably coded like that for a reason. If you "get around it" the reason may come to light, even several months later after you've reallly, really screwed things up.

As to what you are asking to do, you presumably did lots of searching to locate the answer?

Unless you have the very latest z/OS and JES2, you can't do what you think you want anyway.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Dec 30, 2011 7:05 pm    Post subject:
Reply with quote

Unless the procs are nested then there should be no problems in overriding the COND= parameters
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7254

PostPosted: Sat Dec 31, 2011 4:39 pm    Post subject: Reply to: How to override condition perameter in Jcl
Reply with quote

There seem to be two questions here. One in the subject, and one in the body of the text.

I think the subject is not using words in the context of terminology. I think "override" means "change", "condition perameter" means "the step return code" and "in Jcl" means "after that step in the job has completed".

Otherwise, as expat has pointed out, the question is too simple to be asked here :-)
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
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts 2 vsam file compare and update a fiel... ABINAYATHULASI DFSORT/ICETOOL 6 Sun May 29, 2016 11:15 am
No new posts File matching using specific condition mf_karthik DFSORT/ICETOOL 3 Fri Nov 20, 2015 11:04 pm


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