Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8596
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: 8596
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: 8596
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us