I have created a pdf file from the mainfram, then I am trying to sent as attachment as pdf file, but I couldn't. Can any one please help me out. I am able to send as text file but not able to send a pdf file. Here is my JCL.For security reason, I change the mailserver ip address and email name. Thank you for help in advance.
It is unclear from your post - exactly what problem are you experiencing? Also, how are you generating the PDF document on the z/OS mainframe system? Is the problem / error with opening the attachment when received by your EMAIL client, or possibly the EMAIL is not being received at all? And what SAS version are you running?
when I Ftp this fileI(VQ959.VQ3.PDFTESTX) as pdf with binary format , I am able to view from adobe reader, but when I email the file(JCL and SAS coding attached) to my Lotus notes email application and open it , then it pop up the following message.
Adobe Reader couldn't open "VQ3.PDFTEST.PDF" because it either not a supported file type or because the file has been damaged(for example , it was sent as an email attachment and wasn't correctly decoded).
Since I was not able to open from lotus notes, I saved in my c drive, and then I try to open it , and I got the same error message.
I ran your code in SAS 9.1.3 SP4 and it worked -- I was able to open the EMAIL attachment with no problem. So, you may want to consider SAS HOTFIX maint to address known PDF related problems on z/OS with SAS 8.2, or look at upgrading to a more current (and supported) SAS version.
Thank you so much. When I put type=application /pdf inside the attachement , it didn't work, but when I put CT=APPLICATION/PDF it work fine. Finally you get me thorough. Thanks so much Bobmorley2 and other people who try to help me for this issue.