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

How to delete data from Tapes ?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
leo_sangha

New User


Joined: 11 Aug 2005
Posts: 85
Location: England

PostPosted: Thu May 07, 2009 2:52 pm
Reply with quote

Hi All,

I want to delete data from TAPES. Is it possible ?

Can you share a sample JCL or the process to delete the data from the TAPES.

Thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu May 07, 2009 2:57 pm
Reply with quote

no

if on the other side You want to delete some records from any sequential file/dataset
You must copy skipping the unwanted/keeping the wanted records

dataset deletion on tape(s) is an improper term,
datasets on tape(s) get deleted when the tape(s) is/are reused/scratched

( rough approach on)
the datasets are sometimes made unavailable by uncataloging them

for the standards and practices in Your organization ask Your support
Back to top
View user's profile Send private message
leo_sangha

New User


Joined: 11 Aug 2005
Posts: 85
Location: England

PostPosted: Thu May 07, 2009 3:08 pm
Reply with quote

Thanks Enrico for your reply,

I'm assigned a task to delete datasets which are on TAPES.

There are approximately 50 datasets spread over 100 tapes. These datasets are costing a lot/week. And i want to know can i delete these 50 datasets and possible some cost savings.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu May 07, 2009 5:23 pm
Reply with quote

This is something more you need to discuss with your site support group as there may be standards and procedures already in place. Data sets on tape can be deleted just like any disk data set, but there are some additional things to be aware of. For example, if the tape data set was created with an expiration date, simply uncataloging the tape data set won't delete it. Your tape management system will usually maintain the tape until it is either explicitly deleted or the expiration date is reached. If the tape has multiple data sets, all of them have to reach expiration before the tape can be returned to the scratch pool.
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 Store the data for fixed length COBOL Programming 1
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top