IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

HELP needed in email with attachments through jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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:<[email protected]>
Rcpt to:<[email protected]>
data
from:<[email protected]>
to:<[email protected]>
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
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Mainframe Storage Needed Mainframe Jobs 0
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts 2 attachments JCL PC Guides & IT News 6
No new posts Email attachment from mainframe is empty PC Guides & IT News 9
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
Search our Forums:


Back to Top