View previous topic :: View next topic
|
Author |
Message |
ravikanth
New User
Joined: 12 Jan 2006 Posts: 29
|
|
|
|
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 |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
Back to top |
|
|
ravikanth
New User
Joined: 12 Jan 2006 Posts: 29
|
|
|
|
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 |
|
|
|