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
Subject: Test Mail with attachemnts
Content-type: multipart/mixed; boundary="boundry1"
Content-type: text/plain; Charset=us-ascii
attached is your report file
// DD DISP=SHR,DSN=dataset name