Answer Posted / lavanya
hi,
we can code cond parameter on both job and exec
stmts.very step has to be executed a return code upon
completion.that is known as condition code.condition is
used to control the execution of the subsequent
steps.always the condition parameter based on the previous
step.suppose the given cond is true,the step is not
executed,otherwise it will bypassed to its next step.
FOR EX:-
JOB CARD
//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=XYZ,COND=(4,LT,STEP1)
HERE THE CONDITION IS TRUE,
so,step will not executed.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Name the statement which can be used to send data to another mvs jes3 node?
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?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
How does the jcl specify the job to os?
how JCL works?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What are the 2 types of parameters in dd statement?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Is it possible to code instream data in a PROC?
how to run batch program without jcl?
What is the purpose of dd dummy statement?
Explain the function of job statement in jcl?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What is the function of the dd avgrec keyword in sms datasets?
Explain the function of //cntl statement?