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:<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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
Search our Forums:

Back to Top