need to check a GDG generation is present in catalog or not
Posted: Wed Sep 05, 2007 5:54 pm
Hi every one,
I have a job JOB1 in which a GDG generation is created.This generation triggers an another job JOB2. In the JOB2 this generation is taken as backup and it is deleted.
the issue is.......................
JOB1 has been triggered twice.In the first run of JOB1 a generation is created and in the second run another generation is created. Each created generation triggers JOB2 .
In the first run of JOB2 the two generations which is created by the two runs of JOB1 has been taken backup and those two generations are deleted. Then for the second run there is no GDG generations to process. So the job is abending with JCLERROR.
So I want to check in the first step of JOB2 whether the GDG has generations or not .Could you plz tell me how can I solve this issue.............................................................
Regards,
Karthik
I have a job JOB1 in which a GDG generation is created.This generation triggers an another job JOB2. In the JOB2 this generation is taken as backup and it is deleted.
the issue is.......................
JOB1 has been triggered twice.In the first run of JOB1 a generation is created and in the second run another generation is created. Each created generation triggers JOB2 .
In the first run of JOB2 the two generations which is created by the two runs of JOB1 has been taken backup and those two generations are deleted. Then for the second run there is no GDG generations to process. So the job is abending with JCLERROR.
So I want to check in the first step of JOB2 whether the GDG has generations or not .Could you plz tell me how can I solve this issue.............................................................
Regards,
Karthik