Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

HELP needed in email with attachments through jcl

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

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Tue Dec 12, 2006 2:58 pm    Post subject: HELP needed in email with attachments through jcl
Reply with quote

Hello
i try to send a report file (dataset) as attachment to a email ID. But when i execute i get the contents as the body of the mail and not as an attachment.could you help me to resolve the same. the parameter that i used is like below

helo MVSHost
mail from:<abc@xyz.com>
Rcpt to:<bcd@xyz.com>
data
from:<abc@xyz.com>
to:<bcd@xyz.com>
Subject: Test Mail with attachemnts
MIME-version: 1.0
Content-type: multipart/mixed; boundary="boundry1"
--boundry1
Content-type: text/plain; Charset=us-ascii
Content-transfer-encoding: 7bit
Hello
attached is your report file
--boundry1
Content-type: application/octet-stream;
Content-disposition:attachment;filename="report11.txt"
/*
// DD DISP=SHR,DSN=dataset name
//*
Back to top
View user's profile Send private message

Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Tue Dec 12, 2006 7:12 pm    Post subject: Re: HELP needed in email with attachments through jcl
Reply with quote

Hi t1nt1n,
Can you please post your Email control card here.

Thanks,
Rajen
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 Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts How to send email with Rich Text usin... santhosh5983 JCL & VSAM 4 Fri Apr 08, 2016 2:30 am
No new posts Information needed on using the COBAN... venugopal.dondla COBOL Programming 5 Thu Oct 08, 2015 3:34 pm
No new posts Help needed in Conditional statement ... vinu78 DB2 5 Tue Sep 15, 2015 10:14 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us