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 sort card you will use to copy the data from one dataset to another dataset?
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 to run batch program without jcl?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Explain about ISPF/TSO Commands
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Does jcl support automatic restart?
What is the motivation behind coding class parameter in job statement?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What do you understand by jcl?
What are the parameters that are used in creating a gdg?
which parameter is use to declare the name of dataset in dd statement?
Is automatic restart possible in jcl?
How can values be passed from the job stream to an executable program?
How can a fb file convert to vb file using sort program?