I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2.
How can I use GDG to use it as input file at step2.
Answer Posted / g.ranjith kumar reddy
//step2 dd dsn=GDG.smaplegdg.base(+1),Disp=Shr
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
how do you access an uncataloged dataset in a jcl?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Is it possible to left uncode disp? If yes, how?
Is their any limit for data sets?
Explain the purpose of the dd keylen parameter?
What are some jcl statements that are not allowed in procedures?
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
What is the function of the dd dcb keyword?
In sms datasets, what is the function of the dd avgrec keyword?
what is the purpose of coding notify parameter in job statement?
List the various advantages of using jcl language?
//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 /*
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Explain dfsort utility?