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



Hi,

I have a number of RPGLE programs with embedded SQL that were created and compiled on one system, then moved to another system.

The original object library on the original system and the destination library on the destination system are not named the same.
The 'DB2 for IBM i module attributes:' section has a reference to SQL Package Name which includes the original library name.

This library does not exist on the current system.

I am trying to track down why the program does not work correctly on the current system (The SQL statements are not selecting any records from the data file).
When I simply recompile the program on the current system, the only thing that's different is the SQL Package Name Library reference (it now points to the object's library),
the program works fine.

I know nothing about SQL Packages, how or why they are created, or why my program has a reference to one (which is not found anywhere on either system, at least using an object type of *SQLPKG).

Could this difference be my problem? If so, why?

Thanks for any advice.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.