Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
thesumitk

Active User


Joined: 24 May 2013
Posts: 129
Location: INDIA

PostPosted: Tue Jun 18, 2013 2:56 pm    Post subject: GDG Version is picked up by the job while it should have beo
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 18, 2013 3:24 pm    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Tue Jun 18, 2013 4:48 pm    Post subject:
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: 129
Location: INDIA

PostPosted: Tue Jun 18, 2013 5:42 pm    Post subject:
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

Site Director


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

PostPosted: Tue Jun 18, 2013 9:19 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Jun 28, 2013 5:18 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm
No new posts Faccing issues while creating a GDG V... sravindra_s JCL & VSAM 5 Thu Jun 23, 2016 11:26 am
No new posts Fujitsu Cobol 85 to IBM Cobol (Any ve... umakalikiri COBOL Programming 4 Fri Apr 15, 2016 7:40 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us