When we use conditional statement in JCL using
if-then-else-endif, IF statement is true, the step is
bypassed or executed?
Answer Posted / praveen bejjanki
JCL has 2 statement which can check for the Return code of
the previous step.
1. Cond stmt: step will be executed when the condition is
falst
2. If stmt: step will be executed when the given condition
is true.
@All: Correct me if i'm wrong
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
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 is the function of the dd dcb keyword?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
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 ?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
How to pass the parameter in parm using linkage section ? (syntax)?
Is condition checking possible in jcl?
What does a disposition of (MOD,DELETE,DELETE) mean ?
is there any way to execute more than one proc in the same exec statement at the same time..?
How can the submitting users racf authority be overridden in a job stream?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How can unused space allocation be returned to the system when a dataset is closed?
How do you access an uncatalogued dataset in a jcl?