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



Don't write the 'new' savf direct to a savf object.

> -----Original Message-----
> From: Gene_Gaunt@xxxxxxxxxxxxxxx [mailto:Gene_Gaunt@xxxxxxxxxxxxxxx]
> Sent: Monday, November 10, 2003 11:10 AM
> To: MI Programming on the AS400 / iSeries
> Subject: Re: [MI400] Save file check sums
> 
> 
> 
> > It is not really necessary to compute the second checksum. 
> Just set the
> >16 bytes to binary zeroes and the save file will be accepted 
> as valid.
> 
> 
> The second checksum is necessary, otherwise the write record 
> operation on
> the final save file record fails with CPF4525, even when binary zeros.
> 
> CPF5175 = invalid 12-byte record checksum
> CPF4525 = invalid 16-byte file checksum


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.