|
On 11/01/2007, at 8:42 AM, Rory Hewitt wrote:
The calls to QbnStartPreProcessor() and QbnAddAssociatedSpaceEntry() show no errors, but the call to QbnEndPreProcessor() always throws a CPF5D23 ("Source file member has been changed."). I'm stumped - I'm not actually changing the source member at all - just reading it. The change date timestamp on the member isn't changing at all...
The message actually indicates the timestamp on the associated space is different from the timestamp on the source member.
I think your problem is caused by specifying the same source file for both input and output when calling the QbnEndPreProcessor() API. Looks to me like the expectation is that each pre-processor creates its own output as a result of whatever it does. In your case there is no change to the source but I think you're still expected to create a new source file (or member) and copy the source into it. The next stage will use the new output file.
Also, why is OUTMBR declared as VARYING? Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software OS/400, i5/OS Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / 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.