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 is the improvement to COND= in the latest version of MVS?
which utility is used to sort a file in jcl?
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
How to delete generations of gdg without deleting gdg base?
how to skip the steps in JCl
What is the use of the utility DFSRRC00 in the JCL?
In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?
Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA
diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what is “Cond= even” and “Cond=only”?
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?