What is a GDG? Why do we go for a GDG ? utility used to
create GDG?
Answers were Sorted based on User's Feedback
Answer / duraiece2001
GDG:
Generation Data Groups are a group of data sets which are
related to each other chronologically and functionally.
Utility used to create GDG is IDCAMS
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / dev
We will go for GDG when we want a no of verions of the same
file and somtimes the output in a consolidated manner.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / eswar
Generation Data Group(GDG) , mainly we go for the GDG for
daily or monthly report generation and keep the version in
such a case we can prefer GDG, for creating GDG we have to
use the Utility IDCAMS.
| Is This Answer Correct ? | 1 Yes | 0 No |
Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?
how to count the number of members in pds?
Can you code instream data in a PROC ?
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
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.
Hi, can any one tell about " How do u eliminate the duplicates "
how you can access an uncataloged dataset in a JCL?
Why do you want to specify the REGION parameter in a JCL step?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How to search strings in multiple dataset with conditions 'string1 & string2'?