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
 
How to send email to multiple users

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
nprathap4u

New User


Joined: 24 Apr 2007
Posts: 15
Location: India

PostPosted: Thu Sep 27, 2007 3:21 pm    Post subject: How to send email to multiple users
Reply with quote

Any one knows how to send for multiple users...????
I want to send message for 5 users..
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Sep 27, 2007 3:51 pm    Post subject: Reply to: how to send email to multiple users
Reply with quote

Yes, it can be done using the IKJEFT01 utility.

Just add the emails ID one after another in the control card.

Also search the forum as this has been discussed before.
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Thu Sep 27, 2007 4:32 pm    Post subject:
Reply with quote

Prathap,

It looks as if you know how to send email to one user; try making a distribution list on your email client (for the 5 users you want the email to be sent to) and use that email-id in your JCL. icon_lol.gif

Nice and easy,
Twissi.
Back to top
View user's profile Send private message
nprathap4u

New User


Joined: 24 Apr 2007
Posts: 15
Location: India

PostPosted: Thu Sep 27, 2007 4:53 pm    Post subject:
Reply with quote

Thanks William.

But i couldnt find that forum.
could you please post that utility once again.

-regards
Prathap
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Sep 27, 2007 7:40 pm    Post subject:
Reply with quote

Hello,

You can send multiples using
Quote:
(some.one@somewhere.com -
some.oneelse@somewhere.else.com)
Just use parentheses and continuation(s).

Not sure why one shows as "link" - must be a feature of the board icon_smile.gif
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Sep 28, 2007 12:19 pm    Post subject:
Reply with quote

Quote:
nprathap4u
Using what utility you are trying to send email?
Back to top
View user's profile Send private message
jasveer singh

New User


Joined: 06 Mar 2006
Posts: 16

PostPosted: Sun Oct 14, 2007 3:40 pm    Post subject: Reply to: How to send email to multiple users
Reply with quote

Hi ,

Here is the JCL step to send the mail to multiple thru SMTP

//STEP001 EXEC PGM=IKJEFT01,
// DYNAMNBR=25,
// COND=(12,EQ)
//SYSTERM DD DUMMY
//SYSPROC DD DUMMY
//SYSTSIN DD *
XMIT WROC.SMTP DDNAME(XMITNOTE) NONOTIFY NOLOG
/*
//XMITNOTE DD *
HELO << region that supports SMTP>>
MAIL FROM: <user1@comp1.com>
RCPT TO: <user2@comp2.com>
RCPT TO: <user3@comp3.com>
DATA
FROM: <user1@comp1.com>
TO: <user2@comp2.com>
TO: <user2@comp2.com>

SUBJECT:
<< Message content >>

.
QUIT
/*
//SYSTSPRT DD SYSOUT=*
//SYSDBOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon Oct 15, 2007 12:22 pm    Post subject: Reply to: How to send email to multiple users
Reply with quote

nprathap4u,

Use this if you are still facing the problem of sending mails to multiple user's.

Code:
//SEMAIL   EXEC PGM=IKJEFT01,                                     
//         DYNAMNBR=40,                                           
//         PARM='%SWMAIL &CYCL'                                   
//NOTE     DD DUMMY                                               
//PARMS    DD DSN=HLQ1.INFO(FROM),               
//         DISP=SHR                                               
//SYSPROC  DD DSN=YOUR.DATASET.NAME,                                   
//         DISP=SHR                                               
//SYSTSPRT DD SYSOUT=*                                             
//SYSPRINT DD SYSOUT=*                                             
//SYSTIN    DD DUMMY,DCB=BLKSIZE=80                               
//SYSTSIN  DD DUMMY,DCB=BLKSIZE=80                                 
//TO       DD DSN=HLQ1.INFO(TO),                   
//         DISP=SHR 



From control card: HLQ1.INFO(FROM)

Code:

SUBJECT="YOUR SUBJECT "                           
FROM=XYZ@ABC.COM


To control card: HLQ1.INFO(TO)

Code:
# RECIPIENTS:                     
MAILID_ONE@DOMAIN.COM       
MAILID_TWO@DOMAIN.COM       
MAILID_THREE@DOMAIN.COM       
MAILID_FOUR@DOMAIN.COM       
MAILID_FIVE@DOMAIN.COM 


Hope this helps. Else post your queries
Back to top
View user's profile Send private message
nprathap4u

New User


Joined: 24 Apr 2007
Posts: 15
Location: India

PostPosted: Mon Oct 15, 2007 3:30 pm    Post subject: Reply to: How to send email to multiple users
Reply with quote

Hi,

Thanks a lot..it worked fine.

regards,
Prathap
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon Oct 15, 2007 4:24 pm    Post subject: Reply to: How to send email to multiple users
Reply with quote

Glad that i was able to help you icon_biggrin.gif
Back to top
View user's profile Send private message
Analyst

New User


Joined: 06 Apr 2007
Posts: 3
Location: Singapore

PostPosted: Tue Jan 22, 2008 6:00 am    Post subject: Reply to: How to send email to multiple users
Reply with quote

Ho Pratap & Aaru,

What is the SYSPROC dataset should contain?

SWMAIL access should be requested to TSO Administrator?

Could you please clarify..I am submitting the job but could not receive the mail,but rc=0
Back to top
View user's profile Send private message
purusothaman

New User


Joined: 17 Feb 2007
Posts: 39
Location: Chennai

PostPosted: Wed Jul 02, 2008 9:28 pm    Post subject:
Reply with quote

Is SWMAIL a third party tool?
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
No new posts Updating multiple counts in trailer!! Vignesh Sid SYNCSORT 4 Mon Nov 06, 2017 1:04 pm

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