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



On 12-May-2016 17:01 -0500, Graves, Chuck wrote:
As another "fly in the ointment"....we're running V5R4

On v5r3, the second level text of the message says the limit in characters, so presumably will too, on v5r4; see:
DSPMSGD RNF0269 MSGF(QDEVTOOLS/QRPGLEMSG)

On v5r3:
Message . : Character literal is too long; literal truncated.
Cause . . : The character literal is longer than 1024 characters. The literal has been truncated to 1024 characters.

On v6r1 the limit shows as 16380 in that message.

If the other options mentioned already are not desirable to overcome the limit, then consider loading the statement text from a file [STMF or DBF] or from a compile-time array. These options have an additional advantage, in that no apostrophes need to be escaped [i.e. doubled] as they must be when composing the statement in an RPG string literal.


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.