× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Norbut, Jim wrote:

Valid point.....I did failed to mention I use SAVSAVFDTA
To save the savefile to tape.

Jim:

Therein lies a major problem (for future reference since you've otherwise resolved your problem.)

The SAVSAVFDTA command doesn't exactly put the savefile to tape. It puts the savefile _data_ to tape. The resulting tape essentially looks as if the original SAVLIB had been done directly to tape with no savefile ever existing.

This kind of illustrates what savefiles where intended for -- a faster way to save in order to reduce downtime. Save to savefile quickly, get your apps started back up again and put the savefile to tape via SAVSAVFDTA at your leisure.

In short, you'd need to recreate the savefile, restore the library from tape, save back into the savefile again, and _then_ you'd more or less have the original savefile back again. Technically, I suppose you _could_ write a program that would read tape records/blocks directly and write them into a savefile; but that's a bit of overkill. I'm not sure how well documented savefile structures are.

Might be useful info for someone someday and others might have more to add or correct.

Tom Liotta

-----Original Message-----

Norbut, Jim wrote:

I have a savf on a backup tape called LAWAPP8DBB

The savf was created via
SAVLIB     LIB(LAWAPP8DB) DEV(*SAVF) SAVF(LAW8SUPP/LAWAPP8DBB)

Jim:

Although you show how the savefile was populated, you didn't show how it was put to tape. Two general ways would be SAVLIB SAVFDTA(*YES) and SAVSAVFDTA. Getting the "savefile" back would be very different between the alternatives. It's possible that the "savefile" doesn't quite exist on the tape even though the entire content is on the tape or even that the savefile description is on tape but it's empty.


As an Amazon Associate we earn from qualifying purchases.

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-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.