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
 

 

Rewrite a RETPD protected tape file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
haimzeevi

New User


Joined: 01 Mar 2010
Posts: 27
Location: Israel

PostPosted: Tue Jan 18, 2011 5:41 pm    Post subject: Rewrite a RETPD protected tape file
Reply with quote

I have to read a backup tape, RETPD protected, manipulate the data, then rewrite the whole file back, using the save volume. I tried already :
1. Read by means of IEBGENER the dataset to a DASD

2. Manipulate the DASD file
3.Write back to tape, using VOL=REF=*.stepname.ddname of original dataset.
The system refused to overwrite the catalogged dataset, or used a scractch tape for output, in case of omitting REF= parm.
Thanks in advance for useful hints...
Haim Zeevi[/u]
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: Tue Jan 18, 2011 6:17 pm    Post subject:
Reply with quote

Why do you need to reuse the exact same tape ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 18, 2011 6:39 pm    Post subject:
Reply with quote

You're most likely going to find it pretty much impossible to reuse the same tape if it is protected. You either can write a new tape, or go back to whoever gave you the project and tell them it cannot be done.

Bypassing security by doing things like this tends to be considered quite poorly by management and can lead to negative consequences for you.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jan 19, 2011 5:16 am    Post subject:
Reply with quote

There isn't really a technique to allow you to do what you're asking. Tapes are usually protected by the security package (RACF, ACF/2, TOP SECRET) as well as the tape management system in use (which works with the security package). You are not allowed to overwrite a tape which has not expired, or tape data validation would become a real issue.

Depending upon the site software, the only way I can think of doing this would be to use a nonlabelled external tape (i.e., one not managed by your tape management system) and even then there would be console operator replies required to allow the data to be overwritten.

Furthermore, this is not a technique that should be even considered for use in a production environment. The input data is destroyed by such a process and that eliminates the possibility of a rerun should it be needed, and the auditors would be issuing audit findings for sure.
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
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
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


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