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



Birgitta's translation is clearer : the text continues with the next
(blank) character in the next row.
Surely, that would be the character in column 8?

I believe is the next (non-blank) character. In the "Real life example" I
posted before, although the second line is indented, the result is:

Select zuonr, lifnr, xblnr, DMBTR, BLDAT, BELNR FROM SAPSR3.BSIK WHERE blart
= 'KM'

although the source code is:
... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+...

SQL_ST = 'Select zuonr, lifnr, xblnr, DMBTR, BLDAT, BELNR +
FROM SAPSR3.BSIK WHERE blart = ''KM'' ';

Regards,


Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Tue, Feb 15, 2011 at 9:57 AM, David FOXWELL <David.FOXWELL@xxxxxxxxx>wrote:

Hmm, not as easy as that it would seem. Lot's of different answers with
different numbers of quotes around the apostrophe!
I don't like the QUOTE constant, it just makes it less readable. But I
suppose it saves one from having to remember how many quotes to use!

Charles, RTM would have sufficed thanks. What does "A hyphen (-) indicates
continuation is in the first available position in the continued field "
mean?
What's the continued field?

Birgitta's translation is clearer : the text continues with the next
(blank) character in the next row.
Surely, that would be the character in column 8?

Thanks all.



-----Message d'origine-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Colpaert, Peter
Envoyé : mardi 15 février 2011 14:46
À : RPG programming on the IBM i / System i
Objet : RE: Eval variable = long text

David,

Easy peasy:

/free
MyVar = 'This is a sentence of around ' +
'130 characters containing ' +
'apostrophes an'''all';
/end-free

HTH,

Peter Colpaert
Software Engineer - PLM Development Team Philips Consumer Luminaires
Tel: (+32) 3/459 13 17
Fax: (+32) 3/450 74 33
Address: Industrieterrein Satenrozen 11, 2550 Kontich, Belgium
Email: Peter.Colpaert@xxxxxxxxxxx


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-
--
This is the RPG programming on the IBM i / System i (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 ...

Follow-Ups:
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.