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
 

 

How to delete GDG residing on Tape

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

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Fri Jul 02, 2010 2:09 am    Post subject: How to delete GDG residing on Tape
Reply with quote

Hi,

Could anybody help me out with "How to delete GDG residing on Tape"

Steps which I've tried are as follows:

--I went to 3.4 ISPF
--Pulled the GDG name "abc.xyz.lmn.G0146V00"
--I tried Uncataloging the GDG first by typing U next to the GDG name.
--It gave me an error msg on the right hand corner "Tape Not Supported"
--I tried deleting the GDG by typing D next to the GDG name, it again gave me the same error msg "Tape not supported"

** I beleive the GDG has already been migrated to TAPE
** Please explain, how to delete GDG from a tape and also explain deleting a GDG would delete its catalog entry???
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jul 02, 2010 4:03 am    Post subject:
Reply with quote

IEFBR14 in batch
IDCAMS in batch

If the file truly has been migrated and shows a migration level for the volume serial, you can use HDELETE command in TSO or batch.
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: Fri Jul 02, 2010 6:07 am    Post subject:
Reply with quote

Hello,

If you do not have this yet resolved, suggest you post the jcl step that created the problem generation.
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: Fri Jul 02, 2010 12:45 pm    Post subject:
Reply with quote

Is there an expiry date shown when you perform a listcat against the generation in question.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Fri Jul 02, 2010 1:29 pm    Post subject:
Reply with quote

...and what Tape Management Subsystem do you have? Does pressing PF1 when you get the 'tape not supported' message provide any more detail? LISTCAT output would be helpful to as expat suggests.

Any of the example methods from Robert should work. Entering DEL / or HDEL / next to the file name in 3.4 should get rid of it.
Back to top
View user's profile Send private message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Fri Jul 02, 2010 9:53 pm    Post subject:
Reply with quote

Hi everybody,
Thank you so much for your replies in sorting out this issue....

Dick Scherrer>> "If you do not have this yet resolved, suggest you post the jcl step that created the problem generation."
--Well, Sir, programmer asked ops to delete this GDG because it was bad, Im not sure which Job has generated this GDG.


Expat>> "Is there an expiry date shown when you perform a listcat against the generation in question."
--Sir, when I do LC beside the GDG it shows expiration date as : 0000.000 and Creation Date as: 2010.182


Pete Wilson>>"and what Tape Management Subsystem do you have? Does pressing PF1 when you get the 'tape not supported' message provide any more detail? LISTCAT output would be helpful to as expat suggests."
--Peter, at out site we use CA-MIM


*********
I had a word with my onshore couterpart and as per him if we have to delete the GDG from DASD just type "D" beside the GDG in 3.4 ISPF and If we have to delete the GDG from a Tape we have to type "U" beside GDG name in 3.4 .

Earlier I tried typing "D" (by mistake, as I did not know that we have to type U instead of D, if the GDG is on TAPE) and then it gave me error msg: "TAPE NOT SUPPORTED"
*********

As per Robert Sample, we have to do HDELETE or DELETE beside the GDG name on TAPE, I've already tried typing "D" beside the GDG name and it was giving me msg: "TAPE NOT SUPPORTED".

Please if you could clarify, why my onshore couterpart was asking me to do "U" beside the GDG name in 3.4 ISPF if the GDG is on TAPE???
AND
any explanation in this regard would be highly appreciated.....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jul 02, 2010 10:52 pm    Post subject:
Reply with quote

U means uncatalog -- NOT delete.
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: Fri Jul 02, 2010 11:52 pm    Post subject:
Reply with quote

Hello,

Good to hear you now have a solution icon_smile.gif

Earlier i asked for the creating jcl because i was not certain if this was a dasd data set that had been migrated to tape or it this was an actual tape dataset (or something else).

As you discovered you cannot "D" a tape dataset. This is a feature not a problem. DASD datasets are often deleted (which will also uncatalog them in most cases). Tape datasets are not physically deleted - they are Uncataloged.
Back to top
View user's profile Send private message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Sat Jul 03, 2010 3:11 am    Post subject:
Reply with quote

Thank You Robert and Dick for making me understand the difference.
You guys are very good.
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 Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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