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
Is condition checking possible in jcl?
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' ?
Can I share my data with other jobs? How?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
how you can access an uncataloged dataset in a JCL?
How jcl work to handle various input output file operations?
//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 /*
What is the function of dd disp parameter?
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?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How do you create a temporary dataset?
how do you access an uncataloged dataset in a jcl?
Explain in DD statement what is the use of DCB parameter?