|
CPYTOPCD FROMFILE(*LIBL/File_name) TOFLR('REPORTS') +
TODOC(File_name.TXT) REPLACE(*YES)
SNDDST TYPE(*DOC) TOINTNET((&EUSER01) (&EUSER02) +
(&EUSER03 *CC) (&EUSER04 *CC) (&EUSER05 +
*CC) (&EUSER06 *CC) (&EUSER07 *CC) +
(&EUSER08 *CC) (&EUSER09 *CC) (&EUSER10 +
*CC)) DSTD('sent TEXT doc from AS/400') +
MSG('Attached is File_name Positive Pay +
file for ' || &TDATE || '. Agent refund +
check Down load file.') DOC(File_name.TXT) +
FLR('REPORTS')
If you are getting garbage in your file you will need to check the
Convert CCSID 65535 Code.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Harvell, Joel
Sent: Friday, August 25, 2006 1:05 PM
To: Midrange Systems Technical Discussion
Subject: RE: Using SNDDST to email physical files
I usually do to CPYTOPCD before I email the file. Maybe that will help.
Joel B. Harvell
Food Lion, LLC
(704) 633-8250 x2709
jbharvell@xxxxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Marvin Radding
Sent: Friday, August 25, 2006 11:11 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Using SNDDST to email physical files
I am trying to email a flat file from the AS/400. When it successfully
emails the file, it contains garbage. I can't seem to get it right.
Does anyone have any utilities or service programs that can assist in
this?
Marvin
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.