David: Where do I place the DSN of the attachment in the "ATTACH1" Member?
Do I set the "FILENAME" equal to it, like "FILENAME=MY.ATTACH1.FILE" ? Thank You. Len Sasso RDC Applications Management - Professional: System Adminstrator Backup QMR - Production Operations CSC Vacation Alert: ? 327 Columbia TPKE, Rensselaer NY 12144 NES | t: 518.257-4209 | m: 518-894-0879 | f: 257-4300 | lsa...@csc.com | www.csc.com This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. From: "Jousma, David" <david.jou...@53.com> To: IBM-MAIN@LISTSERV.UA.EDU Date: 08/20/2014 01:20 PM Subject: Re: Question: Possible to send email, with an attachment from the Mainframe? Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> The JCL I run is simply IEBGENER //EMAIL1 EXEC PGM=ICEGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SYSUT1 DD DSN=DAVE.PDS(#HELLO),DISP=SHR // DD DSN=DAVE.PDS(BODY),DISP=SHR // DD DSN=DAVE.PDS(ATTACH1),DISP=SHR // DD DSN=DAVE.PDS(SASLIST),DISP=SHR //SYSUT2 DD SYSOUT=(B,SMTP),DEST=XXXXXXXX, // DCB=(RECFM=FB,LRECL=133,BLKSIZE=0) Contents of each of the members, broken out, done this way because some of the parts are programmatically generated, like the contents of the attachment. Member #HELLO HELO xxxxxxxxxxx MAIL FROM:<xxxxx> RCPT TO:<xxxxxx> DATA FROM: xxxxxxx TO: xxxxxxx SUBJECT: your title MIME-VERSION: 1.0 CONTENT-TYPE: MULTIPART/MIXED; BOUNDARY="SIMPLE BOUNDARY" --SIMPLE BOUNDARY CONTENT-TYPE: TEXT/PLAIN Member BODY Body of your email Member ATTACH1 --SIMPLE BOUNDARY CONTENT-TYPE: TEXT/PLAIN CONTENT-DISPOSITION: ATTACHMENT; FILENAME=userlist.txt Member SASLIST Contents you want put in the userlist.txt file _________________________________________________________________ Dave Jousma Assistant Vice President, Mainframe Engineering david.jou...@53.com 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717 -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Leonard Sasso Sent: Wednesday, August 20, 2014 1:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Question: Possible to send email, with an attachment from the Mainframe? David: Thank you. Could you please provide an example, including the JCL? Thank You. Len Sasso RDC Applications Management - Professional: System Adminstrator Backup QMR - Production Operations CSC Vacation Alert: ? 327 Columbia TPKE, Rensselaer NY 12144 NES | t: 518.257-4209 | m: 518-894-0879 | f: 257-4300 | lsa...@csc.com | www.csc.com This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. From: "Jousma, David" <david.jou...@53.com> To: IBM-MAIN@LISTSERV.UA.EDU Date: 08/20/2014 12:58 PM Subject: Re: Question: Possible to send email, with an attachment from the Mainframe? Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> Yes, no additional software is necessary. I do it now with: HELO xxxxxxxxxxx MAIL FROM:<xxxxx> RCPT TO:<xxxxxx> DATA FROM: xxxxxxx TO: xxxxxxx SUBJECT: your title MIME-VERSION: 1.0 CONTENT-TYPE: MULTIPART/MIXED; BOUNDARY="SIMPLE BOUNDARY" --SIMPLE BOUNDARY CONTENT-TYPE: TEXT/PLAIN Body of your email --SIMPLE BOUNDARY CONTENT-TYPE: TEXT/PLAIN CONTENT-DISPOSITION: ATTACHMENT; FILENAME=userlist.txt Contents you want put in the userlist.txt file _________________________________________________________________ Dave Jousma Assistant Vice President, Mainframe Engineering david.jou...@53.com 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717 -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Leonard Sasso Sent: Wednesday, August 20, 2014 12:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Question: Possible to send email, with an attachment from the Mainframe? We are able to send email from our mainframe (z/OS 1.13). Is it possible to send an email with an attachment, from our mainframe? Thank You. Len Sasso RDC Applications Management - Professional: System Adminstrator Backup QMR - Production Operations CSC Vacation Alert: ? 327 Columbia TPKE, Rensselaer NY 12144 NES | t: 518.257-4209 | m: 518-894-0879 | f: 257-4300 | lsa...@csc.com | www.csc.com This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN