SNDDST TYPE(*DOC) not working for big files

30 pts.
Tags:
AS/400
Email
We are using SNDDST to send reports via internet e-mail. It works for small reports (text files) but not for larger ones. No error is shown when issuing the command. QSYS/SNDDST TYPE(*DOC) + TOINTNET((sbchenry@hotmail.com *PRI)) + DSTD('Sending a Text') + MSG('Find the report attached.')+ SNDFMT(*NOCHG) DOC(Report.TXT) FLR('TEMP') If Report.TXT is small, it is received as ascii text OK, it it's rather big (maybe 10K or more) the received text contains invalid ascii characters. Let me know if you have any idea to solve this problem Thanks
ASKED: August 3, 2006  12:17 PM
UPDATED: December 14, 2009  2:17 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

The 400 is splitting your attachment (don’t ask what that means or why IBM does that) Just use CHGPOPA command to set your message split size to *NOMAX

======================================================

IBM does it for the same reason most other e-mail servers do something similar; the difference is that others generally have larger default limits. Most often, e-mail servers have a maximum size limit. Under OS/400 or i5/OS, rather than just blocking the transmission, the attached file is automatically sent in segments. A client that can reassemble the parts is needed.

Technically, SMTP e-mail is not intended to be a ‘file transport’ mechanism. That’s what FTP, etc., is for.

E-mail servers shouldn’t be taxed by trying to process large files through a protocol that is explicitly designed to handle relatively small text messages. It’s bad enough that spam clogs e-mail servers. Large files put a definite drag on them. (That’s all from the perspective of the purpose of SMTP e-mail. The reality is something else entirely.)

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following