Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below, 
What will be the output file name in each step ? 

PROC starts
     Step 1 has ID.GDG.FILE(+1)
     Step2 has  ID.GDG.FILE(+4)
PEND

Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ? 
PROC starts
     Step 1 has ID.GDG.FILE(+1)
PEND

PROC1 starts
     Step2 has  ID.GDG.FILE(+4)
PEND

Answers were Sorted based on User's Feedback



Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below,  Wh..

Answer / pankaj

Step 1 ID.GDG.FILE(-3)
Step2 ID.GDG.FILE(0)

Is This Answer Correct ?    2 Yes 0 No

Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below,  Wh..

Answer / rajeswari

ID.GDG.FILE.G0005V00

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More JCL Interview Questions

When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

0 Answers   IBM,


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

0 Answers  


how to modify the copy book?explain with examples

2 Answers   TCS,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,


AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS

3 Answers  






How is a type of file defined in the jcl that executes the cobol program?

0 Answers  


What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?

9 Answers   Xansa,


What is the function of the dd dcb keyword?

0 Answers  


In sms datasets, what is the function of the dd mgmtclas keyword?

0 Answers  


What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?

2 Answers   IBM,


Explain in DD statement what is the use of DCB parameter?

0 Answers  


What does the statements: typrun=scan and typrun=hold do in a JCL statement

2 Answers  


Categories