What will happen if we generate GDG +2 version instead of
+1 version?

Answers were Sorted based on User's Feedback



What will happen if we generate GDG +2 version instead of +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 0 No

What will happen if we generate GDG +2 version instead of +1 version?..

Answer / garry

@Varun

Excellent answer: 100% correct.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

what happens if we dont close cursor in db2-cobol pgm?

6 Answers  


In which area will you utilize 88 level items in cobol?

0 Answers  


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

0 Answers  


Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?

2 Answers   TCS,


Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.

2 Answers   RBS,






I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?

3 Answers  


Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


if we have a 10 steps how to override the 4th step in jcl?

2 Answers   Hewitt,


What is mean by maxcc

7 Answers   Syntel,


88 class is used for

5 Answers   CTS, EDS,


How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.

7 Answers   Financial Services,


Categories