On 30-May-2014 16:49 -0500, Edmund Reinhardt wrote:
On 30-May-2014 10:35 -0500, Gerald Kern wrote:
I have a project that consists of four RPGLE and three SQLRPGLE
source members.

The outline is available for all but one source member which is a
free form SQLRPGLE (V7R1 btw) that is showing 'unexpected token(s)
ignored' tags which I think is disabling the outline altogether.
It's occurring in two places in the code and both are where an SQL
string is being composed similar to the one shown below.

String_SQL = Select + Where +
Q_TXRSTAT + QUOTE + Active + QUOTE +
And + Q_TXACODE + QUOTE + p_TXACODE +
QUOTE + And + Q_TXCHGDT + Today;

Not a show stopper as the program verifier shows no errors and it
compiles. Just odd that the outline for this one program is not
available.

<<SNIP>> the dynamic outline parser is independent of the program
verifier and compiler and does not have deep SQL understanding so it
is getting confused with SQL reserved words as it tries to find the
end of the SQL statement, so it can get back to RPG parsing.


I've inserted the OP just above that most recent reply. I am confused about the most recent reply, because the code shown is purely RPG, no SQL at all. That is, the pure RPG assignment shown is little different than the RPG string EVAL\assignment expression: X=Y+Z;

So, there would be no SQL parsing taking place, from which the compiler code can "get back to RPG parsing"; i.e. the compiler parsing for that code-sample will begin and end as RPG parsing.?


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