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

Does the data ever get deleted from DASD or Tape?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Feb 04, 2010 9:10 pm
Reply with quote

Hi,

I just put some thoughts here which were boggling in my mind - as they say why should only I suffer...icon_razz.gif so I put them here - well not actually that's not the matter - I just want to know if I'm lost in some un-necessary thoughts, please have a look on the follwoing points icon_smile.gif

1. "I need to delete a tape?" -- does the question in double-quotes make a sense? By terminology, a tape-file (a file on a tape) cannot be deleted, right? Then why do we have such threads every now and then...?

2. I think data is nothing but just a "good" combination of bits, a pattern of bits which actually constitutes the information.

Coming from electronics engineering back-ground, point 1 makes me think, if in Mainframes' world, I issue a Delete by whatever means, I believe physically nothing happens. Only the pointers to the data are removed, am I correct?

I just read about allocating datasets using ABSTR and then reallocated the dataset using ABSTR- guess what, hell - data was there.

And other possibility which I think can happen but did not try yet, in case I've no possibility to allocate the dataset without a close being performed, then after reallocating the dataset use the DFDSS print command and I believe I'll see the data, right?

Thanks again for stopping by...icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Thu Feb 04, 2010 9:24 pm
Reply with quote

Anuj:

When someone says "I need to delete a tape" they are usually saying one of two things: they don't know to expire the tape in the tape management system so it gets reused, or there is sensitive data on the tape and they want the data overwritten (or erased) when they delete the tape file(s). Depending on whether the tape needs to be usable after the deletion, the solution may be as simple as pulling the tape from the library and running a good strong magnet over it for a while. There are commercial products that overwrite data (tape or disk) multiple times to make retrieval of the data nearly impossible (although I've heard the U. S. government's NSA is very good at data recovery).

For a disk data set, a delete usually means the catalog entry is removed and the VTOC entry deleted as well. The actual data set is not usually touched (again, there are commercial products to overwrite the data set). I have had, in the past, occasions where I allocated a disk data set and opened it for input without writing to it first. This used to access the data that was in that spot before, leading to S001 errors as well as various messages about record and block size incompatibilities.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Feb 05, 2010 9:03 pm
Reply with quote

Quote:
This used to access the data that was in that spot before, leading to S001 errors as well as various messages about record and block size incompatibilities.
icon_smile.gif Go stand there in the corner Robert...icon_smile.gif.

Robert - You say,
Quote:
there are commercial products to overwrite the data set
if we talk about the geometry of the DASD, actuators will write data on the disk "randomly", right? They can choose any address on the disk and start writing - so they might choose the address "used by other data earlier" unless it's protected - so do we really need the commercial products?

I scratch my head, I'm afraid if I took wrong interpretaion of your comments... icon_redface.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Feb 05, 2010 9:28 pm
Reply with quote

Quote:
if we talk about the geometry of the DASD, actuators will write data on the disk "randomly", right? They can choose any address on the disk and start writing - so they might choose the address "used by other data earlier" unless it's protected - so do we really need the commercial products?

I scratch my head, I'm afraid if I took wrong interpretaion of your comments
If you have really sensitive data, or are really paranoid, the commercial products might be recommended. Why? Because disk drives wobble as they are spinning. The wobble means two successive writes to a track aren't likely to exactly overlap -- leaving the old data exposed on the edge. Also, once written the magnetic field will, over time, affect the substrate to some degree.

My understanding is that really advanced processing of the disk can read the edges of the tracks, as well as read the substrate-recorded magnetic fields, to recover data that would normally be considered completely gone.

The commercial products overwrite the track 20, 50, 100 times (or more) so the wobble should be nullified by the multiple overwrites.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Feb 08, 2010 2:30 pm
Reply with quote

Thanks Robert - this helps.

No I'm not paranoid, instead just curious...icon_smile.gif.

I wish I could see what happens in(at) the tape library when I submit a job which requires a tape-unit...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Feb 08, 2010 5:47 pm
Reply with quote

Some of the libraries have windows so you can watch the robot arm go grab the tape and put it in the drive, others do not. If you've got one without a window, there's not a lot to see ...
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Feb 08, 2010 6:56 pm
Reply with quote

I see, thanks for that inforamtion Robert...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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top