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



Thanks Tommy, good explanation.

I did actually know that, but my so-called
powers of observation are suspect.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, July 03, 2013 8:01 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: SQLRPGLE attribute question

That's because it IS an RPGLE program. The SQL precompiler substitutes RPG calls to the SQL CLI APIs in place of your SQL statements and that is used to compile the actual PGM (or MODULE) object. If you look in debug mode you'll see your SQL statements are commented out and calls to the SQL CLI APIs have been inserted in their place.


Thanks,
Tommy Holden



From: Gary Thompson <gthompson@xxxxxxxxxxx>
To: "RPG programming on the IBM i (AS/400 and iSeries)"
<rpg400-l@xxxxxxxxxxxx>
Date: 07/03/2013 08:58 AM
Subject: SQLRPGLE attribute question
Sent by: rpg400-l-bounces@xxxxxxxxxxxx



I just finished re-compiling some modules and programs for a file change.

I had not noticed this before, but when I create a *MODULE from a SQLRPGLE member, the module attribute is RPGLE - I wonder why ?

Also, the resulting program object likewise has the RPGLE attribute, and not the expected SQLRPGLE attribute.

Another detail, the source member and object had last been changed in December 2010. The dates and times were all as expected: source changed just prior to object creation.

But, today, the compile failed due to a mismatch between an SQL cursor and the receiving data structure. Apparently the compiler got "tighter"
in the last few years -

Thank you to the ILE team !
--
This is the RPG programming on the IBM i (AS/400 and 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.


--
This is the RPG programming on the IBM i (AS/400 and 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 thread ...

Replies:

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.