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 / vijay sankar
The purpose of the COND is to determine whether the step
should be executed or bypassed. If condition specified in
the COND parameter is true,the step is bypassed.
so if we use // COND=(4,LT) .....this step will never excute
use COND=(4,GT)which is correct
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is jcl in mainframe, and how many types of jcl statements are there for a job?
How do you submit a job for execution?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Explain the purpose of dd * statement in jcl?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
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?
Explain the function of job statement in jcl?
How can return codes be tested before execution of a job step?
Explain the function of the dd dcb keyword?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
what is the use of IEBGENER utility?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is the function of //jcllib statement?
what is SOC4 error?