Seems to be a very rookie question, but I can't find the answer.

I have a series of JCLs that I want to put together as 1 JCL with IF THEN to
test RC.  What I can't find is a way to stop the JCL if a step has a bad RC.
 ie:
STEP1
IF (STEP1.RC EQ 0) then
STEP2
ELSE
  ABEND or GOTO EOJ or somehow end this thing
ENDIF
IF (STEP2.RC   etc, etc)

VSE has labels so I can use a GOTO, but I see nothing like that in z/OS
JCL.

-- 
Mark D Pace
Senior Systems Engineer
Mainline Information Systems

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to