|
Steve, OutMbr is declared as varying because...er...it was code I copied form elsewhere. But I've tried it again with a non-varying OutMbr and still the same error occurs. I guessed it was the problem with the input = output. In fact, Bruce Vining's example (in the archive thread I referred t in one of my previous emails) used a temporary source member in QTEMP as the output. The trouble is, if, for instance, I create a temporary source member in QTEMP, copy the source into there and then specify *that* as the output member, won't that mean that the *MODULE object will show that it was compiled from QTEMP rather than from the real source library? I'd really rather have it showing that it was compiled form the source library, so it's easier to cross-reference it. Rory On 1/10/07, Simon Coulter <shc@xxxxxxxxxxxxxxxxx> wrote:
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 / \ -------------------------------------------------------------------- -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.