Posted: Wed Sep 05, 2007 5:54 pm Post subject: need to check a GDG generation is present in catalog or not
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.............................................................
Joined: 24 Jul 2011 Posts: 651 Location: Down on the pig farm
Posted: Sat Nov 08, 2014 1:56 pm Post subject:
Why are you tagging onto a topic that is over 7 years old? You shuld know that when you have a new query you should start a new topic.
To create a new version you need to specify the datasetname, generation nmber and version number in full. If, on the other hand, you mean create multiple generations then create them as +1, +2 etc and read up about relative generations in the relevant manuals. _________________ Regards
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum