Page 1 of 1

check a GDG generation is present in catalog or not?

Posted: Wed Oct 15, 2014 1:58 pm
by Gagan Saini
Hi every one,

I want to check in the first step of a JOB whether the GDG has generations or not. Could you plz tell me how can I solve this issue?

Re: check a GDG generation is present in catalog or not?

Posted: Sat Oct 18, 2014 3:10 am
by nicc
Schedule the job so that it runs after the dataset is created. Alternatively, use IDCAMS to list the entries and then a program to check through the resultant list and set an appropriate return code.