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
 

 

Want to delete Tape uncatalog dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Want to delete Tape uncatalog dataset
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: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 07, 2008 12:10 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Aug 07, 2008 12:25 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 07, 2008 12:47 pm    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Aug 08, 2008 12:47 pm    Post subject:
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: 1703
Location: Australia

PostPosted: Fri Aug 08, 2008 12:55 pm    Post subject:
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    Post subject:
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    Post subject:
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    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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
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


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