Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
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: 8165
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us