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
What is the function of a dd statement?
What are the parameters that are used in creating a gdg?
i want to store 20 digits . how will u do it in cobol ?
How gdg are concatenated?
How is the record format of an output dataset specified?
whats the diff bw the evaluate also and and?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
what are the types of abends that occur on job failure? And explain the possible causes of these
Explain the purpose of the dd keylen parameter?
Explain how can the attributes of one sms dataset be copied to another dataset?
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?
Explain dd statement in jcl?
What is the purpose of disp parameter?
Explain how can a stopped job be started again?
What is the function of dd disp parameter?