|
-----Original Message----- From: Rory Hewitt [mailto:roryhewitt@xxxxxxxxx] Sent: Wednesday, January 10, 2007 10:43 PM To: RPG programming on the AS400 / iSeries Subject: Re: Optimize *FULL Steve,
Excellent news - thanks very much. It's interesting that I got more information from you than I have from IBM directly... There's not exactly a lot of information on the precompiler API's out there...
you asked IBM supportline? They are the best part of the company. I always get my questions to supportline in email form. That makes it easy for the level 1 person who does not know the answer to pass the question onto someone who does.
note in the response from the IBM support person that the associated space APIs are not recommended. I did not believe him and went on to find out that "not recommended" means they dont work. ;)
I'm still going to try to get the PAS API's to work, dammit! Even if it kills me (which it well might - I've been sick for days, and this isn't helping)...
you'll learn ;) think about what the IBMer is saying at the end of this paragraph: "...We recommend that API qbnAddAssociatedSpaceEntry not be used. Instead, when the customer-written preprocessor is copying source statements from A to B, we recommend that it add whatever data it needs directly into the source code. ..." your preprocessor can add as much code and constants as it wants to the module being compiled. That added code can have no effect on the running of the module. It is only used to store the info you want to place of the associated space. You then use the debugger view APIs to create a debug view that excludes the added code and constants. -Steve
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.