× 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.



Well, I guess I'm missing the point here. I don't use SAVCHGOBJ here, but we did at another company for which I worked. There we did a Save 21 monthly and the SAVCHGOBJ daily. The Save 21 got everything (previously saved or not). If there were no changes to a library, nothing was backed up until the monthly full system save. While physically one could just do a SAVCHGOBJ and *never* do a SAVLIB, it sounds impractical to me. But, as I said, perhaps I missed the point.

Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx

Is that the best game you ever pitched? -Reporter to Don Larsen after pitching the only perfect game in World Series history.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Simon Coulter
Sent: Friday, May 07, 2010 8:47 PM
To: Midrange Systems Technical Discussion
Subject: Re: The problem with SAVCHGOBJ . . .


On 08/05/2010, at 7:21 AM, James H. H. Lampert wrote:

. . . is that if you do a SAVCHGOBJ, and it finds a library that's
never
been saved, it doesn't save it, or anything in it.

SAVCHGOBJ saves objects changed since the specified reference date.
The default reference date is the last SAVLIB date for the library
containing the changed objects. Because no SAVLIB has been performed
on a newly created library the reference date is (effectively) null
and you'll get CPF3745 and the save will fail. Resolve it by
specifying a reference date instead of the default.

You could also issue a SAVLIB of the library to a temporary save file
immediately after creating it (i.e., while still empty). That would
set the default reference date and then any new objects would be
picked up.

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 / \
--------------------------------------------------------------------




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.