How to do recovery data on Tape?

5 pts.
AS/400 backup
EOD process
Incremental backup
Tape backup
Today, when we run the EOD process, the 'Tape before' we used is full, and when we tried to inztap the new tape, there is an error msg: can't allocate Tap01, so we can't do the inztap and we decide to used the 'Tape after'. And when we do the dsptap, we can't find the 'data after'. Is that possible that all the 'data after' is gone? o yeah we use label for the backup, label for 'data before' is savef_b_yymmdd and for 'data after' is savef_a_yymmdd. I think if the label is different the 'data before' will not replace the 'data after'. Did anyone ever have this kind of experiance? please help, if any of you know how to rescue the 'data after' Thx

Answer Wiki

Thanks. We'll let you know when a new response is added.

Not quite sure what this is all about, but sounds like your job ran but could not save due to tape full.
This would indicate that the job does not INZ the tape at the start of its save so presume it appends the data each time to the back of the last save. You could not INZ the TAP01 as your save job would have had a lock on the device TAP01 at the time.
It may be worth popping the tape back in (the After one) and typing this command
DSPTAP DEV(TAP01) DATA(*SAVRST) OUTPUT(*PRINT) then do a work job and look at your spool files to view what’s on the tape. It should show whats on the tape. Or you could DSPLOG put in the time the job ran and it may show in the logs what was saved and to what tape.
good luck

Discuss This Question: 1  Reply

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • DanD
    You are using terms unique to your environment. Probably some inhouse created backup CL. Your problem isn't with the 'before or after' but with the tape intialization, or some program logic. If you are using a tape library, you must enter the volume ID of the tape or vary off the library and put the tape in a known tape dev such as TAP01, vary that on and run the initialization with check for active files *NO. If you don't want to write over an active tape, you need to be much more specific with your question. Are you using BRMS or any media management software? Can you paste the source for the backup CLP here so we can review the logic?
    2,865 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: