IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

GDG Version is picked up by the job while it should have beo


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
thesumitk

Active User


Joined: 24 May 2013
Posts: 155
Location: INDIA

PostPosted: Tue Jun 18, 2013 2:56 pm
Reply with quote

Hi All,

I searched this topic but couldnt find the solution of my problem hence starting this new one.
GDG XXXX.YYYY.ZZZZ Defined as below

LIMIT-----------------30 NOSCRATCH NOEMPTY

A Monthly JOB A(Say) is Creating a GDG Version of above mentioned base and trigering JOB B after completion, JOB B takes the backup of all the versions of this GDG thru ADRDSSU but before that it recalls all the versions thru an asembler code.
Issue:- When Limit for GDG is reached and the 31st version is created the job shd take only the 30 versions but some it is including the version which should have uncatloged/deleted by creation of 31st version and abending saying that
DATA SET XXX.YYY.ZZZ.G0001v00 NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED

Can any one suggest ion this please...Thanks

Sumit
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 18, 2013 3:24 pm
Reply with quote

First point - Version and Generation are both valid terms in reference to GDS. Are you sure that you really do mean Version.

What is the the status of the 31st Generation when you do a listcat of the GDG base.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8570
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 18, 2013 4:48 pm
Reply with quote

Why are you using NOSCRATCH? The manual says
Quote:
NOSCRATCH If the data set is a non-SMS managed data set it is not removed from any of the volumes it occupies. If the data set is an SMS-managed data set it is recataloged as a non-VSAM data set in rolled-off status, and is no longer associated with the GDG base. It is not deleted from any of the SMS-managed volumes it occupies. Abbreviation: NSCR
Back to top
View user's profile Send private message
thesumitk

Active User


Joined: 24 May 2013
Posts: 155
Location: INDIA

PostPosted: Tue Jun 18, 2013 5:42 pm
Reply with quote

Hi Expat

Its about genration , Sorry for misunderstandinig
The job ran sucesfully this month so I cant see the listcat entries for that particular version but this reooccurs frequently.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19245
Location: Inside the Matrix

PostPosted: Tue Jun 18, 2013 9:19 pm
Reply with quote

Hello,

Quote:
First point - Version and Generation are both valid terms in reference to GDS. Are you sure that you really do mean Version.

Quote:
Its about genration , Sorry for misunderstandinig
The job ran sucesfully this month so I cant see the listcat entries for that particular version but this reooccurs frequently.
Ah, not quite there yet . . . icon_wink.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Jun 28, 2013 5:18 pm
Reply with quote

Quote:
Issue:- When Limit for GDG is reached and the 31st version is created the job shd take only the 30 versions but some it is including the version which should have uncatloged/deleted by creation of 31st version and abending saying that
DATA SET XXX.YYY.ZZZ.G0001v00 NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED
This might not sound relevant to ask but -- is this the first time you faced this problem? Is it a new Job/GDG-Base? Have you verifed with other GDG Bases, how they are defined?

As Robert has pointed out - why don't you use SCRATCH and NOEMPTY?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to query MAXGENS of an existing P... JCL & VSAM 4
No new posts Spool Extract for Z /os 1.04 version CLIST & REXX 3
No new posts GDG version number JCL & VSAM 4
No new posts COBOL Version 6.1 COBOL Programming 15
No new posts Is there a time Version of DATEDIFF ? DFSORT/ICETOOL 1
Search our Forums:

Back to Top