|
This should work: D CRLF C X'0D0A' D CRLFemail C '%250d' D Body S 32767 Varying C Eval Body = C 'This is test data' + crlf + C 'Features: ' --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: Java Programming on and around the iSeries / AS400 Date: Friday, May 09, 2003 01:54:45 To: Java Programming on and around the iSeries / AS400 Subject: Question about \r\n Hello all, How do I define these characters in RPG? A command is executed from within a RPG program which launches a java program (to send an e-mail). The body of the mail is a string containing multiple lines. How to define the \r\n in an RPG string so it will be read correctly in the java program as parameter being passed to it? Or how to define the line breaks in a rpg parameter to a java program being executed through QCMDEXC? TIA, met vriendelijke groeten, salutations sincères, kind regards, Geert Van Landeghem Reynders Etiketten NV tel: +32 3 460.32.81 gsm: +32 477.75.95.33 <mailto:gvl@xxxxxxxxxxxx>.
As an Amazon Associate we earn from qualifying purchases.
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.