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

A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)

3 Answers   Cap Gemini, CSC, Xchanging,


how do u see jobs submitted before ur job ?

1 Answers  


How to release the Output HELD by using HOLD = YES on DD statement ?

2 Answers   IBM,


How is a dataset passed from one step to another?

2 Answers   DELL,


can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch

1 Answers   IBM,






When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

0 Answers  


For what purpose steplib and joblib are used ?

0 Answers  


Define concatenating?

0 Answers  


1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?

11 Answers  


hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)

8 Answers  


Statement1 "We can not use UNCATLG in SMS managed VSAM datasets" Statement2 "We can not delete a SMS managed data set without UNCATLG it" (P-353, Saba Zameer book) Then how do we delete SMS managed VSAM datasets ?

1 Answers   IBM,


Categories