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.
Answers were Sorted based on User's Feedback
Answer / satya
//step1 dd dsn=GDG.smaplegdg.base(+1),Disp=
(new,catlg,delete)
When refering it in next step
//step2 dd dsn=GDG.smaplegdg.base(+1),Disp=Shr
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / g.ranjith kumar reddy
//step2 dd dsn=GDG.smaplegdg.base(+1),Disp=Shr
| Is This Answer Correct ? | 5 Yes | 0 No |
In the same jcl if we have to refer a GDG version which was
build in any previous step then have to mention it as (+0)
not (+1)
//STEP1 DD DSN=GDG.smaplegdg.base(+1),
Disp=(NEW,CATLG,DELETE)
//STEP2 DD DSN=GDG.smaplegdg.base(+0),DISP=SHR
| Is This Answer Correct ? | 1 Yes | 21 No |
What does IEBGENER do?
How is a type of file defined in the jcl that executes the cobol program?
How do you submit JCL via a Cobol program?
what is the purpose of coding notify parameter in job statement?
For how long a job can be executed continuously in a mainframe ?
Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????
How to Enter The Spool Area In Real Time?
how can u identify the db2 from jcl ?
What is a JCL Command statement ?
How many parameters are there to a DISP statement and what are their uses ?
Can we change the LIMIT of GDG?
There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.