>I'm attempting to send a file via e-mail.  Does anyone know what would be
>the best way to do this?
>I've tried using SNDDST, but have been unable to view the data.  Any ideas
>would be greatly appreciated.
>Thanks in advance,
>Albert Barron

You may have to translate the file from EBCDIC to ASCII before you send it
via SNDDST.  I assume you mean send via The Internet.

You'll need all fields to be unpacked (ie Signed) to make things easier.

Read the input file into a data structure, then translate the entire data
structure as a single field.  You then write the single field to your ASCII
file (which can be the same file in Update mode).

I've been working on such a thing for one of our EDI clients.  Although
SNDDST should be able to do it all by itself, I found I had to change the
default SMTP gateway (there's a command that does it...   which I can't
remember right now, of course) to point to the machine that has the
physical connection to The Internet.  It looks similar to an Office/400
enrollment on a 2nd machine that points to the user's email account on
another machine.

Until I made that change I was able to SNDDST to a local Exchange server
and receive the file without translating EBCDIC to ASCII, but was unable to
send to my email account on CompuServe via The Internet.

--Paul E Musselman

| 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].