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
 
Sending the mail morethan one user with a attachment

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

New User


Joined: 27 Sep 2006
Posts: 47
Location: Hyderabad

PostPosted: Mon Oct 09, 2006 3:11 pm    Post subject: Sending the mail morethan one user with a attachment
Reply with quote

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
View user's profile Send private message

lal_arun_272

New User


Joined: 09 Oct 2006
Posts: 31
Location: Bangalore

PostPosted: Mon Oct 09, 2006 6:51 pm    Post subject: Re: Sending the mail morethan one user with a attachment
Reply with quote

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
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Mon Oct 09, 2006 6:54 pm    Post subject:
Reply with quote

http://www.ibmmainframes.com/viewtopic.php?t=13473&highlight=sending+mail

Hope this helps.
Back to top
View user's profile Send private message
prashanth1

New User


Joined: 27 Sep 2006
Posts: 47
Location: Hyderabad

PostPosted: Tue Oct 10, 2006 10:31 am    Post subject:
Reply with quote

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
View user's profile Send private message
lal_arun_272

New User


Joined: 09 Oct 2006
Posts: 31
Location: Bangalore

PostPosted: Tue Oct 10, 2006 4:44 pm    Post subject: Re: Sending the mail morethan one user with a attachment
Reply with quote

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
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 sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm

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