On 30/10/2007, at 6:52 AM, David C. Shea wrote:

A friend of mine has a savlib backup tape that he converted from one media type to SLR5 using a PC tape copying gizmo called NovaExchange. I can see that the library is there, but something is different about the tape such that the AS400 doesn't think it's a save file.

What makes you think it **SHOULD** be a save file (SAVF) object? If the original tape was created by SAVLIB (and NovaExchange hasn't screwed it up) then it won't **BE** a save file and a RSTLIB should bring it back.


I have tried a few things like doing a CPYFRMTAP as a tape file to see if I could mangle the thing into a SAVF. I can DSPPFM the copied file and see things that LOOK like a savf might, but no dice.

What you are seeing is **PROBABLY** the normal tape save format from SAVLIB.


The tape is ebcdic. The block size is 32768. The record length of the converted tape is not 0 as it should be, but 32768.

Other than Record length this looks like it **MIGHT** be a valid save tape. Is the tape a standard labelled tape (Type *SL)? Does NovaExchange allow the record length to be specified or is it deriving it?

Supplying this information implies that you can run DSPTAP on the tape. What makes you think OS/400 cannot process it?


A 'save file' has a record length of 528...

A save file (SAVF) will only exist on tape **AS** a save file if it was saved as part of a SAVLIB ,SAVOBJ, or SAVCHGOBJ (or SAV too probably) operation. If the original save was a SAVxxx **TOO** a save file which was then saved to tape via SAVSAVFDTA then the tape will contain the same data as **WOULD** have been saved when using SAVxxx directly.


I'm just scratching the surface here. Has anyone ever offloaded a savlib backup and mangled it into a save file?

Not to my knowledge ... but the real question is why are you trying to do this? If the data on tape hasn't been buggered by NovaExchange then the corresponding RSTxxx command should bring it back.

So ...

What does DSPTAP ... DATA*LABELS) show?

What does DSPTAP ... DATA(*SAVRST) show?

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].