I have 20 steps in a job... step01, 02....step17...step20.
For some reason I want to execute step17 only if the return
code for all the previous steps are less than or equal to 4.
otherwise if return code for any of the previous 16 steps
is greater than 4, then step17 should be bypassed. How do I
do that ?? how and in which step should i formulate COND
parameter

Answer Posted / shesha

COND paramater should be in the step17 only

//step17 exec ......COND=(4,LT)

This condition will skip step17 when the return code is
lessthan or equal to 4 of all the previous steps.
(do not give any step name in cond)

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of the dd avgrec keyword in sms datasets?

841


What is the function of the dd mgmtclas keyword in sms datasets?

740


What do you understand by the terms: joblib and steplib?

626


What is jcl in mainframe, and how many types of jcl statements are there for a job?

631


what is the difference between JES3 and JES2?

683






if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1616


How to do automated restart when a job abend?

791


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2221


What are hierarchy levels in jcl?

958


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1972


Explain the purpose of the dd keylen parameter?

677


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3531


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1668


List the different jcl statements that are not permitted in the procedures?

641


What is the purpose of dd?

728