I will be getting a file from some external sources. The file will contain names of some GDG's. The generation number may not be consecutive. My requirement is: I have to get the GDG names from the file and in the next step i want to concatenate the contents of GDG using a sort
where JOB#1 STEP1 would create DD statements for each of the GDG datasets in the input file, JOB#1 STEP2 would copy the JCL for JOB#2 to the internal reader while providing the concatenated dataset list for the SORT input.