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



Any suggestions on how to debug the error RNX9001, Internal failure in compiler?

I'm only getting it intermittently, and haven't isolated the conditions of when
it fails vs when is works.  The general scenario is:

  - Win32 software (UPS Worldship) performing INSERT to table via ODBC

  - Host machine is at V4R5, ODBC softare from Hit Software[1]

  - Trigger on AS/400 PF invoked, *CALLER activation group, LR off
    (This program does not access any other files directly, but does use
     AlwRepChg(*Yes) to potentially modify the record buffer.)

 - Depending on the data, the trigger also calls another RPG IV program.
   This program is also compiled *CALLER and returns with LR off.  It is
   called via a named constant with the library explicitly specified since
   the library is not in the list used by the ODBC job.

 - Due to library list issues, the trigger performs some OVRDBFs in its own
   *Inzsr for the sake of resolving some files opened in the called program.

 - Nested program also uses one service program, also *CALLER group.

The RNX9001 error, when it occurs, happens on the call from the trigger program
to the nested program.  The called program does not close files  I'm guessing it
may be an activation group issue and may even have to do with ODBC timeouts.  Or
it may have to do with issuing OVRDBFs in *Inzsr of the trigger.

[1] - For those following my saga, using Client Access Express's ODBC client
resulted in random errors on the INSERT, typically with numeric fields.  Since
trying the Hit Sofware ODBC client, the INSERT has been working but now I get
the other error.  Client would prefer to not need to license another ODBC
client, since Client Access is already paid for.  Suggestions on this front are
welcome too.

TIA,

Doug



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.