Walden,

 OS/400 knows what to do when displaying the message.  That means that IBM
has written a formatting routine.  My question is if this routine is
available to us.  I would like to display it in the same format IBM does.  

 But in this case I can't use a message subfile and make the user move the
cursor to the msg and press F1, in order for me to take advantage of the
built-in "message displayer."

 -mark

Original Message:
-----------------
From: Walden H. Leverich WaldenL@xxxxxxxxxxxxxxx
Date: Mon, 26 Sep 2005 09:28:20 -0400
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Message text formatting


>I'm referring to the paragraph formatting characters, 

The "right" thing to do with those characters depends on where you're
displaying the output. Since 5250 is block-based not character-based
there isn't really a concept of Carriage Return/Line Feed (CRLF). The
DSPMSG command "knows" to start a new line when it sees &N and indent it
w/&P, etc. If you want to display your own message you need to handle
that yourself. 

-Walden

------------
Walden H Leverich III
Tech Software
(516) 627-3800 x11
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.