|
Albert,
Thanks for the tip. I ran the command:
CPY OBJ('/MMTEST.TXT') TODIR('/QDLS/SYSDOC') DTAFMT(*TEXT)
then
wrklnk '/qdls/sysdoc/mmtest*.txt'
and used option 5 to view. It looked good.
Then I used:
CHGDOCD DOC(MMTEST.TXT) FLR(SYSDOC) DOCD('List of data')
SNDDST TYPE(*DOC) TOUSRID((ROB DEKKO)) DSTD(DESCRIPTION) MSG('This is some
whopper of a message') DOC(MMTEST.TXT) FLR(SYSDOC)
to send the email. The attachment still was scrambled.
Rob Berendt
==================
Remember the Cole!
"York, Albert"
<albert.york@nissan To:
"'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com>
-usa.com> cc:
Sent by: Subject: RE: DLO objects
look like garbage
owner-midrange-l@mi
drange.com
02/25/01 12:53 PM
Please respond to
MIDRANGE-L
Try specifying DTAFMT(*TEXT) on the CPY command.
Albert York
-----Original Message-----
From: rob@dekko.com [SMTP:rob@dekko.com]
Sent: Thursday, February 15, 2001 9:29 AM
To: MIDRANGE-L@midrange.com
Subject: DLO objects look like garbage
I have a file that I use
CPYTOIMPF FROMFILE(*LIBL/&FILE) TOSTMF(&IFSFILE) RCDDLM(*CRLF)
on. I can view this file by using DSPF and it looks great. I can
download
this file using FTP and it looks great.
When I copy to QDLS system using the CPY command or use CPYTOIMPF to
go
directly to QDLS system it looks like crud, garbage, hieroglyphics,
whatever.
Goal: To send an email out with a usable attachment.
I want one of two solutions:
1) Get the document to not hose up when I move it into QDLS and use
SNDDST.
2) Figure out how to set up the email to have an attachment so I
can use
the send mail API, QtmmSendMail.
I've used the API in the past to send email. The trick for me is
learning
how to code the MIME for an attachment. Does anyone have a sample?
My
attachment is a simple .txt file.
Rob Berendt
==================
Remember the Cole!
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to
MIDRANGE-L@midrange.com.
| To subscribe to this list send email to
MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
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.