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
 

 

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 Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm
No new posts How to sending system service request... lind sh IMS DB/DC 5 Sun Apr 10, 2016 12:02 am


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