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



When using SNDDST(*DOC) is it possible to apply formatting to MSG(?????????)
section?





                    "Bartell, Aaron
                    L. (TC)"                 To:     "'rpg400-l@midrange.com'" 
<rpg400-l@midrange.com>
                    <ALBartell@taylor        cc:
                    corp.com>                Subject:     RE: SNDDST question.
                    Sent by:
                    rpg400-l-admin@mi
                    drange.com


                    09/12/2001 02:09
                    PM
                    Please respond to
                    rpg400-l






What you are talking about is hexadecimal characters.  Here is how you would
define them in an RPG program:

0015.00 D CR              C                   CONST(X'25')   Carriage Return
0016.00 D LF              C                   CONST(X'0D')   Line Feed

Here is how you would use them:

0056.00 C                   eval      String = 'Hi,' + CR + LF

or do it like this

0056.00 C                   eval      String = 'Hi' + X'250D'


I have not done this in a CL program but assume that it can be done.
Let me know if you have any questions,
Aaron Bartell


-----Original Message-----
From: Gurrieri Fabrizio [mailto:fabrizio.gurrieri@bartolini.it]
Sent: Wednesday, September 12, 2001 12:32 PM
To: rpg400-l@midrange.com
Subject: SNDDST question.


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
In the SNDDST command, type *LMSG, in the LONGMSG parameter I can insert
control characters such as :/N, :/P to formatting the final text.
The command help says that is possible to insert also all the FFTDCA control
characters (in esadecimal) but I'm not able to find any manual about that
feature. In particular I need to explain some words underline or bold.
Can anyone help me.

Thanks a lot and sorry for my poor english.




Fabrizio Gurrieri - BARTOLINI SPA
Via E.Mattei  42 - 40138 BOLOGNA (Italy)
Tel:+39 051 6015593 - Fax:+39 051 530365
E-Mail: Fabrizio.Gurrieri@bartolini.it
Internet: http://www.bartolini.it <http://www.bartolini.it/>


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
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 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.