Read the file, extract the appropriate information, and call QCMDEXC
specifying the SNDEMAIL command. The MESSAGE parameter of the SNDEMAIL
command is the parm you want to use (I would think).

On Thu, May 13, 2010 at 3:18 PM, <Rich_Weislak@xxxxxxxxx> wrote:

Its not the SNDEMAIL program that I am questioning, I 'm just trying to
create a holding area so that I can build on the fly the message that will
go into the subject line, I know it hard for me to explain what I need
done, if you look at the example that I gave, I need to create that with
the subject line by reading in a database file. I hope this help.....

Rich Weislak




"Dennis Lovelady" <iseries@xxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
05/13/2010 03:00 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
cc

Subject
RE: Question on email






All, I'm using the SNDEMAIL command, I need to create either a CL or
rpg
program that will read a database file and created one big message
field
to be send out, I know it hard to explain but here is a example, with
the
message box I need to put in the following:

job: xxxxxxx
Total record: xxxxxxxx
Accout number: xxxxxxx

How would I do this with a program or a cl program????

Not familiar with a command called SNDEMAIL. Do you know the
vendor/creator? If not, can you tell what library/ies it's found in when
you do
WRKOBJ SNDEMAIL
?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"I knew I was an unwanted baby when I saw that my bath toys were a toaster
and a radio."
-- Joan Rivers



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





CONFIDENTIALITY NOTICE: This message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.