What will happen if we generate GDG (+2) version without
generating (+1) version?

Answers were Sorted based on User's Feedback



What will happen if we generate GDG (+2) version without generating (+1) version?..

Answer / varun v

It will create a GDG generation which is one ahead of the
current generation.

Example:
Suppose the current generation is ***.G0001V00
and now instead of creating (+1), you have given (+2) in
your JCL and submitted the job. Now the new generation
created will be ***.G0003V00

Similarly if you give (+4) in the JCL, the new generation
created will be ***.G0005V00

Is This Answer Correct ?    19 Yes 2 No

What will happen if we generate GDG (+2) version without generating (+1) version?..

Answer / jaanu

Nothing will happen
it just giving the +2 of the previous generation version no.
Thats it
ex:1st> GDG.G0004V00
next>GDG.G0006V00

Is This Answer Correct ?    14 Yes 1 No

Post New Answer

More COBOL Interview Questions

How may divisions are there in JCL-COBOL?

5 Answers   IBM,


What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

1 Answers   Fidelity,


What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


what is sync clause?

2 Answers   DELL,


If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,






how do u link sub pgm to main pgm ?

2 Answers   TCS,


How is sign stored in a comp-3 field?

7 Answers  


Can we use redefine clause in occurs clause?

10 Answers  


What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?

3 Answers  


I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.

4 Answers   FIS, Wipro,


how to resolve the file status 47.......

1 Answers   MMM,


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


Categories