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

How to delete the Tape File.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Dec 10, 2008 1:35 pm
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 10, 2008 2:29 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts DELETE SPUFI DB2 1
Search our Forums:

Back to Top