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 mailing list archive is Copyright 1997-2025 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.