×
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.
Here's how I compose my message field in RPG:
msg = %trim(msg)
+ X'0D'
+ X'0D'
+ X'0D'
+ 'field 1: ' + %trim(f1) + X'0D'
+ 'field 2: ' + %trim(f2) + X'0D';
That works out to me emailing an error message on the first line of the
email, then skipping two lines, and printing the contents of two
fields. I have wrapped SNDDST in a CLP and prototyped it into my RPG
program, but there is no reason why this shouldn't work directly to the
SNDDST via RPG. For other languages, you'll need to consult the
reference to know how to embed a hexadecimal character 13 into your
message text.
On 3/18/2010 1:00 PM, midrange-l-request@xxxxxxxxxxxx wrote:
message: 1
date: Thu, 18 Mar 2010 12:46:37 -0400
from: "Michael Smith"<msmith@xxxxxxxxxxxxxx>
subject: Format SNDDST Msg Parameter
Is it possible to format the SNDDST Msg with a "newline". In a
previous post, I found a suggestion to use the ":/P" value.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.