View previous topic :: View next topic
|
Author |
Message |
shelu280
New User
Joined: 12 Jan 2009 Posts: 9 Location: chennai
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Unless the procs are nested then there should be no problems in overriding the COND= parameters |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|