Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to mail an attachment through JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ravikanth

New User


Joined: 12 Jan 2006
Posts: 29

PostPosted: Thu Jan 12, 2006 11:59 am    Post subject: How to mail an attachment through JCL
Reply with quote

Hi,

Does anyone have an idea abt a Mailing Step in JCL where we send a mail along with the Attachement with specific format say .xls along with the mail.
Not sure but sounds like SYSMail or SASMAIL...

Thanks,
Ravi
Back to top
View user's profile Send private message

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Thu Jan 12, 2006 12:05 pm    Post subject: Email thru JCL
Reply with quote

Hi Ravi,

Check the below link
http://ibmmainframes.com/viewtopic.php?t=7899&highlight=mail+thru+jcl
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu Jan 12, 2006 12:07 pm    Post subject: Re: How to mail an attachment through JCL
Reply with quote

HI Ravi,

Go thru following Link.

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

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
ravikanth

New User


Joined: 12 Jan 2006
Posts: 29

PostPosted: Wed Jan 18, 2006 6:10 pm    Post subject: Re: How to mail an attachment through JCL
Reply with quote

Hi All,

Wanted to share some info on mailing an attachment through JCL.
//SASMAIL EXEC SAS
//SYSIN DD *
DATA;
FILENAME MYFILE EMAIL
TO= " Specify mail id "
FROM= "anthing without spaces"
SUBJECT= "Subject of Ur mail"
ATTACH= ('Dataset should be specified here'
NAME = 'name of the attachement' EXT="XLS");
DATA _NULL_;
FILE MYFILE;
PUT 'Description of the mail';
RUN;
QUIT;
/*
Cheers,
Ravi
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mail via SMTP with an image? Mike 1304 JCL & VSAM 4 Thu Jan 26, 2017 2:01 pm
No new posts Issue in sending zip file as mail att... ajithajt JCL & VSAM 8 Thu Apr 07, 2016 9:11 am
No new posts Trigger a mainframe job by mail Praveen Thenraj IBM Tools 8 Wed Jan 13, 2016 12:05 pm
No new posts Mail format in outlook from mainframes. Madhusudhan Prahlad All Other Mainframe Topics 3 Thu Sep 03, 2015 11:27 am
No new posts Empty excel attachment in mail receiv... gs185008 COBOL Programming 8 Mon Jul 13, 2015 7:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us