How is a new GDG coded?

Answers were Sorted based on User's Feedback



How is a new GDG coded?..

Answer / guest

A new GDG is coded as (+ after the dataset name as follows:
DSN=JAN.DATA(+. This will cause all generations to be pushed
down one level at the end of the job.

Is This Answer Correct ?    1 Yes 0 No

How is a new GDG coded?..

Answer / edgar

Remember to create a base GDG, use the default job to do this !!! luck...

Is This Answer Correct ?    0 Yes 0 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,


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

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  


Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,






How many instream we can write in single jcl?

1 Answers  


Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )

9 Answers  


At what stage, operator can change the class and priority of a submitted job?

2 Answers  


I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.

2 Answers  


In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.

4 Answers  


What is S322 abend ?

5 Answers  


Categories