Answer Posted / balesh
//JOB_NAME JOB '123' CLASS=Q,MSGLEVEL=(0,1)
//STEP1 EXEC PGM='ADDPGM'
//DD_NAME DD=PATH
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
Explain the function of the steplib dd statement?
Explain how can an in-stream dataset be terminated?
how would you create a temporary dataset? And where will you use them?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
List the different components of jcl statement?
whats the diff bw the evaluate also and and?
How does jcl act on code(if you take a cobol program)?
When space is allocated for an output dataset, what units can be used?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
what is the use of JCL?
//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 EXEC statement is and what is the syntax of EXEC statement used in JCL?
List the different jcl statements that are not permitted in the procedures?