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

Want to delete Tape uncatalog dataset


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

New User


Joined: 14 Jul 2006
Posts: 15
Location: New Delhi

PostPosted: Thu Aug 07, 2008 12:03 pm
Reply with quote

Hi all,

i want to delete the dataset which is on tape, but in that some of the dataset are uncatalog, the dataset number is big, is anyone can suggest me any utility, which will used to delete these datasets.

i hace tried IDCAMS already.


Thanks in advance
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Aug 07, 2008 12:10 pm
Reply with quote

What's wrong with IDCAMS, apart from you having to do some work to code the control statements ?

Is there any common pattern to the dataset names ?
Or any exclusions
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Aug 07, 2008 12:25 pm
Reply with quote

Hi,

..continued with Exapt's post..if the DSNs are un-cataloged, then You need to supply volume information...&

PS.: Perhaps, I would like to ask, why would some some shops just un-catalog some DSNs, I've never did it in my business, can some one please assit me here.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Aug 07, 2008 12:47 pm
Reply with quote

Anuj D. wrote:
PS.: Perhaps, I would like to ask, why would some some shops just un-catalog some DSNs, I've never did it in my business, can some one please assit me here.

Errrrrrr, my understanding in this case is because they are tape datasets, uncatalog is the usual method to delete them.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Aug 07, 2008 8:11 pm
Reply with quote

Ask the tape librarians to EXPIRE the tapes if you really want the data gone (over-written by new files).
Back to top
View user's profile Send private message
shivsingla
Warnings : 1

New User


Joined: 14 Jul 2006
Posts: 15
Location: New Delhi

PostPosted: Fri Aug 08, 2008 12:39 pm
Reply with quote

Thanks to all,
i have used IDCAMS , and given the volumes parameter in sysin dd * , but it gives me error. that This parameter is unrecognized.



Anyways . i got the solution and i have implemented using IEFBR14.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Aug 08, 2008 12:47 pm
Reply with quote

Post your IDCAMS errors, IDCAMS is far more efficient than IEFBR14
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Aug 08, 2008 12:55 pm
Reply with quote

Hi,

why do you need to give the volumes if the dataset is catalogued, it seems to defeat it's purpose.


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

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Aug 08, 2008 8:55 pm
Reply with quote

Anuj said, "..if the DSNs are un-cataloged, then You need to supply volume information...". If they are cataloged, you don't need to supply the volid.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Aug 08, 2008 9:22 pm
Reply with quote

Neither an IDCAMS DELETE nor an IEFBR14 with DISP=(OLD,DELETE) will actually delete the file from the tape. The data exists until the tape is re-written or magnetically erased.
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 DSNTIAUL driven delete IBM Tools 0
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top