Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
TXT2PDF and then SMTP email a PDF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kris_madras
Warnings : 1

New User


Joined: 04 Jul 2005
Posts: 30

PostPosted: Sun Oct 18, 2020 8:11 pm    Post subject: TXT2PDF and then SMTP email a PDF
Reply with quote

I am getting error while sending the PDF file to outlook via JCL.
Below steps I am doing.

(1) I have INFOPAC report downloaded to PS file of VB 200
(2) Converted VB file to FB 200 file.
(3) Used TXT2PDF routine to generate PDF file. This file is VB4100 by default.
(4) Ran the IEBGENER SMTP JCL to send attachment as PDF.

I am getting the attachment as .pdf in the email but Adobe is unable to open the file.
Code:

HELO xxxxx                                             
MAIL FROM: <xxxx@abc.com>                     
RCPT TO: <yyyy@abc.com>           
DATA                                                     
FROM:xxxx@abc,com                             
TO:  yyyy@abc.com                 
CC:  yyyy@abc.com                 
SUBJECT:  TEST RUN                                       
MIME-VERSION: 1.0                                       
CONTENT-TYPE: MULTIPART/MIXED;                           
CONTENT-DISPOSITION: ATTACHMENT; FILENAME="XYZ.PDF"
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2419
Location: Hampshire, UK

PostPosted: Mon Oct 19, 2020 1:21 am    Post subject: Reply to: TXT2PDF and then SMTP email a PDF
Reply with quote

Why no code tags?
If you simply manually ftp the pdf dataset can your pdf reader read it?
Back to top
View user's profile Send private message
kris_madras
Warnings : 1

New User


Joined: 04 Jul 2005
Posts: 30

PostPosted: Mon Oct 19, 2020 8:48 am    Post subject: Reply to: TXT2PDF and then SMTP email a PDF
Reply with quote

Hi,
Yes. If I do file binary transfer (option 6 in ISPf) and name the file .PDF, it is opening correctly with adobe.

Please suggest me how to use code tags in the xmitip.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2419
Location: Hampshire, UK

PostPosted: Mon Oct 19, 2020 7:56 pm    Post subject: Reply to: TXT2PDF and then SMTP email a PDF
Reply with quote

I was talking about using code tags in your post - I have added them myself but I will not do it again.
Back to top
View user's profile Send private message
sergeyken

Active Member


Joined: 29 Apr 2008
Posts: 860
Location: Maryland

PostPosted: Mon Oct 19, 2020 11:14 pm    Post subject: Re: Reply to: TXT2PDF and then SMTP email a PDF
Reply with quote

kris_madras wrote:
Hi,
Yes. If I do file binary transfer (option 6 in ISPf) and name the file .PDF, it is opening correctly with adobe.

Please suggest me how to use code tags in the xmitip.


An old joke:

Water is boiling at 100 degrees Celsius; how come the right angle is only 90 degrees?... 2014.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts using TXT2PDF to colour specific lines jzhardy All Other Mainframe Topics 3 Thu May 14, 2020 9:46 am
No new posts Send email without SMTP Kaliragavendran All Other Mainframe Topics 5 Thu Sep 05, 2019 10:55 am
No new posts Using the SAS module to email mainfra... elixir1986 JCL & VSAM 3 Thu Mar 14, 2019 10:04 pm
No new posts JCL to send email along with formated... wik123 JCL & VSAM 5 Thu Aug 09, 2018 9:48 am
No new posts Need Help on sending email by includi... wik123 JCL & VSAM 9 Mon Jul 30, 2018 2:59 pm

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us