Solved

width of SNDDST Command in AS400

Posted on 2009-04-10
2
860 Views
Last Modified: 2013-12-06
Dear All,
Can any one provide me the limit Capabilities of SNDDST Command in AS400

I have a text file whose width  is 400 and saved in a folder
when i use SNDDST Command to forward the same to mail receipt it says command completed successfully
when i view the contents from mail it seems to of some unknown ASCI Code
I have attached the text file for your reference
please provide me the solution to resolve issue

Regards,
Bsidmis

3040956.TXT
0
Comment
Question by:Bsidmis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Assisted Solution

by:theo kouwenhoven
theo kouwenhoven earned 60 total points
ID: 24118757
Hi Bsidmis,

This is the same question as http://www.experts-exchange.com/OS/AS_-_400/Q_24301308.html,

Where is the file on the moment you send it with SNDDSTMSG ?
on the AS/400 file system or in a folder ?

Regards,
Murph
0
 
LVL 27

Accepted Solution

by:
tliotta earned 65 total points
ID: 24118844
Bsidmis:

What do you mean by:

>  when i view the contents from mail...

What is "mail" in that statement? Outlook? Thunderbird? A mail folder on your AS/400?

Do you _want_ the attachment in ASCII? Technically, it _has_ to be ASCII printable text, or SMTP cannot send it. If it isn't, you will have to have it encode as a MIME attachment, e.g., as BASE64 encoded. Your e-mail sending program will have to encode the attachment and mark the attachment header so that the e-mail client knows how to decode the attachment.

For example, if the document is EBCDIC, you probably shouldn't be sending it over SMTP without creating a MIME attachment for it.

SNDDST doesn't do that for you. It's not intended to do it. It's intended for sending (SND) SNA distributions (DST).

If you want to send ASCII e-mail with SNDDST, you probably need to create the document as ASCII text. If you can't do that, then you need to use an ASCII e-mail program to send it, and that program needs to do the MIME encoding and attaching.

To understand what might be happening, you probably should start by reading SMTP RFCs. Here's a beginning one:

http://james.apache.org/server/rfclist/smtp/rfc0821.txt

Search the page for the word [ASCII] to see the basics. Note that the "128 character ASCII" set is all that's allowed. One consequence is that an EBCDIC zero (0), which is hex'F0', can't be sent across SMTP without first being encoded. The same is true for every EBCDIC character that has a hex value greater than x'7F'.

There is more to sending across the internet than just "sending". The stuff that is sent has to be in a form that is appropriate. SNDDST doesn't do everything needed unless you're sending within a SNA network.

Tom
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question