why we use gdg in jcl?
The GDG idea is most useful when accumulating files for another process. For example, create a new file daily and merge all 7 into a weekly file. If one day is a holiday and no file was created then only 6 are copied without any changes to the JCL.