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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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