Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to transfer dataset as an attachment to outlook mail

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
varun

New User


Joined: 02 Mar 2005
Posts: 11
Location: USA

PostPosted: Fri Feb 03, 2006 8:55 am    Post subject: how to transfer dataset as an attachment to outlook mail
Reply with quote

hi all,
Can any one help me in having the output dataset to be send as an attachment(Note pad) to the outlook mail.

Note:
1. I do not want to use FTP in this regard.
2.My shop does not support XMITIP.
3.All the data in the dataset should go to the attachement without any data loss.

thanks in advance.
Back to top
View user's profile Send private message

donevin

New User


Joined: 07 Jun 2005
Posts: 70
Location: South Africa

PostPosted: Fri Feb 03, 2006 1:51 pm    Post subject: Re: how to transfer dataset as an attachment to outlook mail
Reply with quote

Here is the job I use in our shop. You have to add job statement on top.

//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
HELO NCJESA00

MAIL FROM:<userid@MVSDEV.IT.NEDNET.CO.ZA> (find out from your system guys what must go here)

RCPT TO:<your@email.address>
DATA
FROM: sending@email.address
TO: name
SUBJECT: Notepad file
MIME-VERSION: 1.0
CONTENT-TYPE: MULTIPART/MIXED; BOUNDARY="BOUNDRY1"
--BOUNDRY1
CONTENT-TYPE: TEXT/PLAIN; CHARSET="US-ASCII"
CONTENT-TRANSFER-ENCODING: 7BIT

Hallo
This is your Notepad file
--BOUNDRY1
CONTENT-TYPE: APPLICATION/OCTET-STREAM;
CONTENT-DISPOSITION:ATTACHMENT;FILENAME="WHATEVER.TXT"

// DD DISP=SHR,DSN=data.set.name
// DD *
--BOUNDRY1
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Fri Feb 03, 2006 3:57 pm    Post subject: Re: how to transfer dataset as an attachment to outlook mail
Reply with quote

HI,
Adding to anser of Donevin, Yo can refer following link for more details.

http://www.planetmvs.com/mvsmail/

Hope this helps

Regards
Rupesh
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts Prblem with mail having MIME contents harsh.saxena579 JCL & VSAM 2 Tue Dec 12, 2017 3:48 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us