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

what is inrec fields and outrec fields in sorting

3 Answers   Fidelity,


There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?

11 Answers   IBM,


what will be the error code if duplicate key of VSAM file is found?

1 Answers   HSBC, Kings,


Is it possible to left uncode disp? If yes, how?

0 Answers  


For how long a job can be executed continuously in a mainframe ?

4 Answers  






The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


How is the keyword DUMMY used in JCL?

4 Answers  


A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?

2 Answers  


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

0 Answers  


List the different components of jcl statement?

0 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


Categories