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

How to override condition perameter in Jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Dec 30, 2011 1:44 pm
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: 8797
Location: Welsh Wales

PostPosted: Fri Dec 30, 2011 7:05 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Dec 31, 2011 4:39 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts selectively copy based on condition DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
No new posts Dynamic condition checks COBOL Programming 5
No new posts Extract 2 more lines below line that ... DFSORT/ICETOOL 2
Search our Forums:

Back to Top