|
Hi all, Has anyone had any experience using any of the compiler API's, such as QbnStartPreProcessor, QbnAddBindtimeExit and QbnEndPreProcessor? I'm trying to 'pause' the compilation process (for a bound program using the CRTBND* commands) between module creation and the binding phase. According to the documentation (http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3AMV00/CCONTENTS is the V4R5 version, but the API's don't seem to have changed) I need to call the QbnStartPreProcessor API at the begining of my precompiler, then call the QbnAddBindtimeExit API to define a preprocessor program to be called after module creation but before binding, and finally call the QbnEndPreProcessor API at the end of my preprocessor. The calls to QbnStartPreProcessor and QbnAddBindtimeExit work fine (at least no errors are returned in the QUSEC structure), but QbnEndPreProcessor always throws a CPF5D23 ("Source file member has been changed.") error. Now frankly maybe I'm in over my head here (no-one responded to my request for information on the iSeries forum, so perhaps no-one has used these API's?) but since I don't actually change the contents of the source member being used for the compilation in any way, so I don't understand the error message. Thanks for any help, Rory p.s. David, I know this isn't specifically an RPG question, but since my precompiler is written in RPG, I thought this would be the best place to ask.
As an Amazon Associate we earn from qualifying purchases.
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.