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

How to delete a uncataloged GDG version


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

New User


Joined: 07 Apr 2008
Posts: 64
Location: chennai

PostPosted: Thu May 15, 2008 12:01 pm
Reply with quote

Hi,

I have a GDG with Limit 3.

I want to delete all the active and inactive generations of it.

Say..GDG BASE - a.b.c
Gen active - a.b.c.G0003V00
a.b.c.G0004V00
a.b.c.G0005V00
Gen inactive - a.b.c.G0001V00
a.b.c.G0002V00

I am able to delete the Active generations but the inactive generations which are just uncataloged do not get deleted.

Please let me know in case we can do it. I guess we have to find the VOL serial number. If this is true, how to identify the vol serial number of inactive generations which are uncataloged and not in DASD.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu May 15, 2008 12:06 pm
Reply with quote

Hi,
how do you know they are inactive, I can't say I've heard of active and inactive GDG's but then I've lead a sheltered life.

How are you deleting the active ones ?

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

Global Moderator


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

PostPosted: Thu May 15, 2008 12:07 pm
Reply with quote

Mmmmmmmmmmm, sounds like the GDG was defined with the NOSCRATCH parameter to me.

Does the "inactive" generation show up on an IDCAMS listing ??

Are they ROLLED OFF or DEFERRED generations ???
Back to top
View user's profile Send private message
vpr_118
Warnings : 1

New User


Joined: 07 Apr 2008
Posts: 64
Location: chennai

PostPosted: Thu May 15, 2008 12:17 pm
Reply with quote

The gdg was created with No - scratch option

I tried using LISTCAT LEVEL(A.B.C) ALL in instream for IDCAMS. The job listed only active versions. Please tell me what do you mean by Rolled-off or Deffereed.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu May 15, 2008 12:20 pm
Reply with quote

Hi,
I would have expected the dataset to be rolled off but still cataloged if NOSCRATCH was used when defining it, but not accessible via (-3) but the full dataset name. a.b.c.G0001V00


Gerry
Back to top
View user's profile Send private message
vpr_118
Warnings : 1

New User


Joined: 07 Apr 2008
Posts: 64
Location: chennai

PostPosted: Thu May 15, 2008 12:24 pm
Reply with quote

Yes i am able to see ROLLED OFF

On seeing the sysprint of the job which was submitted using the card LISTCAT LEVEL(A.B.C) ALL.

It is showing "STATUS--------ROLLED-OFF" for Inactive versions.
What does it mean.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu May 15, 2008 12:27 pm
Reply with quote

Hi,
it means it's no longer part of the GDG.


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

Global Moderator


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

PostPosted: Thu May 15, 2008 12:33 pm
Reply with quote

vpr_118 wrote:
Yes i am able to see ROLLED OFF

It is showing "STATUS--------ROLLED-OFF" for Inactive versions.
What does it mean.

Do you not have access to any manuals to see for yourself ?

If you do not know which volser it is on, then you may need to run DCOLLECT (IDCAMS manual) to find out the volser it lives on and then delete the NVR (IDCAMS manual)
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu May 15, 2008 12:37 pm
Reply with quote

Hi,
the dataset must be cataloged as he's able to see it has rolled off with the listcat command.


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

Global Moderator


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

PostPosted: Thu May 15, 2008 12:41 pm
Reply with quote

True, I was only speculating on the possibility that it was uncatalogued and offering forward advice.
At NO extra charge icon_biggrin.gif
Back to top
View user's profile Send private message
vpr_118
Warnings : 1

New User


Joined: 07 Apr 2008
Posts: 64
Location: chennai

PostPosted: Thu May 15, 2008 3:36 pm
Reply with quote

I saw DOLLECT OPTION.

It uses several other options like
BACKUPDATA
CAPPLANDATA
MIGRATEDATA
MIGRSNAPERR

which do not relate to get information of inactive gdg.

Is there any option really available for it
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu May 15, 2008 4:09 pm
Reply with quote

when on disk, without any catalog info attaching a GDG dataset is just a plain dataset with a funny looking name

Look at the ismf reporting facilities to get the list

or a generic dcollect to get a datset list and process it afterwards

It would also be a good thing to have a brainstorming with storage support
in order to get a better grasp on GDG management
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 DELETE SPUFI DB2 1
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top