View previous topic :: View next topic
|
Author |
Message |
prashanth1
New User
Joined: 27 Sep 2006 Posts: 47 Location: Hyderabad
|
|
|
|
Hi All
Can you pls tell, how to send an automatic mails to morethan one user.
I have 3 Input files . They are ---> IN1 ---- Body of the letter
IN2-----List of all the user , whom to send the mail.
IN3 -- attachement to be send
Pls let me know , how to perform this kind of tasks.
Thanx In Adv. |
|
Back to top |
|
|
lal_arun_272
New User
Joined: 09 Oct 2006 Posts: 31 Location: Bangalore
|
|
|
|
Hi
Please include below steps in your JCL, This will sent a email with an attachment to email id' which you have given.
//Stepname EXEC MAILAWAY
//MAIL DD *
TO: abc@yahoo.com,
Xyz@yahoo.com
SUBJECT:write you are mail note subject here
// DD DSN=PS file <<this file contents will be sent as an attachment >>
// DISP=SHR
//*
Thanks
Arunlal |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
Back to top |
|
|
prashanth1
New User
Joined: 27 Sep 2006 Posts: 47 Location: Hyderabad
|
|
|
|
Dear Arun,
Sorry to say, u didnt get my point.
My problem is I have 3 Input files. 1) It contains body of the letter
2)it contains list of the users, whom to send the mail with attachment
3) the actual attachment
I want to send the attachment with the body of the letter to all the users which are there in the input file .
Thanx in Adv.
Prashanth1 |
|
Back to top |
|
|
lal_arun_272
New User
Joined: 09 Oct 2006 Posts: 31 Location: Bangalore
|
|
|
|
Hi
Still you can use the same procedure to sent email thru JCL.
but am not sure we can give PS file instead of email id and subject.
if you don't have any problem to include those contain's of input PS file in an jcl step gohead and use the same jcl step it will work fine.
Thanking You
Arunlal |
|
Back to top |
|
|
|