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 the Tape File.

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

New User


Joined: 17 Sep 2007
Posts: 6
Location: chennai

PostPosted: Wed Dec 10, 2008 1:09 pm    Post subject: How to delete the Tape File.
Reply with quote

Hi,

Can anybody help me in deleting the TAPE File.

Thanks,
Sathya[/b]
Back to top
View user's profile Send private message

Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Wed Dec 10, 2008 1:13 pm    Post subject: Reply to: How to delete the Tape File.
Reply with quote

Sathya,

You can use the utility IEFBR14 with disposition for your dataset

Disp=(OLD,DELETE,DELETE).


Regards,
Amol
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: Wed Dec 10, 2008 1:35 pm    Post subject: Re: Reply to: How to delete the Tape File.
Reply with quote

Amsar wrote:
Sathya,
You can use the utility IEFBR14 with disposition for your dataset
Disp=(OLD,DELETE,DELETE).
Regards,
Amol

Which will atually mount the tape.

Have you considered IDCAMS DELETE which will not mount the tape

Also consider chatting to your storage people, who may also have TMS retrntion in place which will not be affected by your 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: Wed Dec 10, 2008 2:29 pm    Post subject:
Reply with quote

Hello,

If you use iefbr14 and specify deferred mounting (unit=)cart,,defer), the drive will be momentarily allocated, but the mount will never be issued.

If multiple datasets are to be uncataloged in a single iefbr14 run, make sure that they refer back to first file/drive and do not require multiple tape drives to simply uncatalog some obsolete files.

As Expat mentioned, the best course of actoin is to talk with the tape storage management people for guidance.
Back to top
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Thu Dec 18, 2008 5:25 pm    Post subject:
Reply with quote

try DELETE / SCRATCH beside the dataset...this will uncatalog the dataset..though the tape is still active at the background...and to get the tape into scratch you can either do it through CA1 panel or run a job to scratch it.
Back to top
View user's profile Send private message
sathya.P

New User


Joined: 17 Sep 2007
Posts: 6
Location: chennai

PostPosted: Mon Dec 22, 2008 12:14 pm    Post subject: Thanks
Reply with quote

Hi ,

Thank u all!!!!!!!!!!!!!!

Thanks,
Sathya.P icon_smile.gif
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 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