Hi,
Please help me to know if we can edit a tape file? I've been asked this question in an interview. I'm not sure if I understood the question itslef. I've asked the interviewer but he repeated the same.
Can we edit a file on Tape Drive?
-
- Registered Member
- Posts: 12
- Joined: Mon Aug 19, 2013 10:13 pm
- Robert Sample
- Global Moderator
- Posts: 1886
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can we edit a file on Tape Drive?
It is not possible to edit a tape file. Edit implies change and once written to a tape, the data CANNOT be changed (at least not without writing to a different tape).
-
- Registered Member
- Posts: 12
- Joined: Mon Aug 19, 2013 10:13 pm
- Robert Sample
- Global Moderator
- Posts: 1886
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can we edit a file on Tape Drive?
Actually, the concept applies (sort of) to a DASD file. The key difference, however, is that a DASD file can be rewritten whereas a tape cannot. The edit process is to read the data set into memory, make all the changes to the copy in memory, and when the edit session is complete then write the data set back out to DASD, replacing the previous copy. Since the last step is not possible for tapes, edit of a tape data set does not occur.
Note that rewriting data to tape is not possible because a tape may contain multiple files, and rewriting a tape could impact every file on the tape.
Note that rewriting data to tape is not possible because a tape may contain multiple files, and rewriting a tape could impact every file on the tape.
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: Can we edit a file on Tape Drive?
It does depend on what "edit" means. DITTO can. I should think Filemanager/File-Aid can as well.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute