How to use COND Parameter in jcl

Answer Posted / challa srinivas

cond statement is used for conditional execution of a
perticular step.

cond=(return code, relational operator)

it can be coded with job statement or with step statement.

If COND parameter is coded both in job and step, then COND parameter of step will override JOB.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1016


What is NOTCAT ?

1050


when does a dataset go uncataloged?

1047


How can a jobs execution priority be modified?

1012


Is acct parameter mandatory?

947


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

996


Name a few IBM utility programs, and explain its function.

4692


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

1008


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4579


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

888


What does a disposition of (new,catlg,keep) for a dsn mean?

845


Explain how can a stopped job be started again?

865


How to execute 2nd and 4th steps among 5 steps in jcl proc?

971


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

893


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2436