On Mon, Jan 09, 2006 at 12:59:30PM -0600, MR ([EMAIL PROTECTED]) wrote:
> The DSN=XXX.OUT(PDFFILE) contains the Adobe PDF file generated by the
> mainframe SAS graphics module. If I download it in binary mode using
> terminal emulator, it opens successfully in Adobe Reader on my PC showing
> that the mainframe file is a good PDF file. But emailing corrupts it.

I'm going to guess that the problem is because a mime attachment
must be encoded to printable characters, "base64" I think (my memory
is out for repair this morning.)  If I understand your JCL, you are
putting the raw binary inline in the email.  The pointer to XMITIP 
is the place that I'd start.  I'd expect to find a base64 encoder as
part of the package.  Or maybe you can just use XMITIP.


/Leonard

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to