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 / satya sivaji.ch

//step17 exec COND=(4,GT)

This says that if any of the previous steps with return
code of greaterthan 4,then it wil bypass,if it less than
then execute it.

In condition parameter wat ever condition u specified
inside the condition parameter is true,then the step should
be bypassed.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run cobol program using jcl?

652


A dd statement consists of 4 fields. Name them?

932


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

721


How do you access an uncatalogued dataset in a jcl?

729


Describe the various parameters utilized in the creation of a gdg?

684






if the submitter of a job wants to inform another user about the job completion, how can it be done?

756


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

584


is there any way to execute more than one proc in the same exec statement at the same time..?

2111


Is acct parameter mandatory?

764


What are steplib and joblib?

725


What is condition checking in jcl? Is this possible?

628


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

712


Explain the function of dd name parameter with a 2 part structure; audit.report?

899


Define concatenating?

667


How is a type of file defined in the jcl that executes the cobol program?

715