|
View previous topic :: View next topic
|
| Author |
Message |
nprathap4u
New User

Joined: 24 Apr 2007 Posts: 15 Location: India
|
|
|
|
Any one knows how to send for multiple users...????
I want to send message for 5 users.. |
|
| Back to top |
|
 |
Aaru
Senior Member

Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
 |
twissi
Active User

Joined: 01 Aug 2005 Posts: 105 Location: Somerset, NJ
|
|
|
|
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.
Nice and easy,
Twissi. |
|
| Back to top |
|
 |
nprathap4u
New User

Joined: 24 Apr 2007 Posts: 15 Location: India
|
|
|
|
Thanks William.
But i couldnt find that forum.
could you please post that utility once again.
-regards
Prathap |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
You can send multiples using
Just use parentheses and continuation(s).
Not sure why one shows as "link" - must be a feature of the board  |
|
| Back to top |
|
 |
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
|
Using what utility you are trying to send email? |
|
| Back to top |
|
 |
jasveer singh
New User
Joined: 06 Mar 2006 Posts: 16
|
|
|
|
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: <[email protected]>
RCPT TO: <[email protected]>
RCPT TO: <[email protected]>
DATA
FROM: <[email protected]>
TO: <[email protected]>
TO: <[email protected]>
SUBJECT:
<< Message content >>
.
QUIT
/*
//SYSTSPRT DD SYSOUT=*
//SYSDBOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=* |
|
| Back to top |
|
 |
Aaru
Senior Member

Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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)
To control card: HLQ1.INFO(TO)
Hope this helps. Else post your queries |
|
| Back to top |
|
 |
nprathap4u
New User

Joined: 24 Apr 2007 Posts: 15 Location: India
|
|
|
|
Hi,
Thanks a lot..it worked fine.
regards,
Prathap |
|
| Back to top |
|
 |
Aaru
Senior Member

Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Glad that i was able to help you  |
|
| Back to top |
|
 |
Analyst
New User

Joined: 06 Apr 2007 Posts: 3 Location: Singapore
|
|
|
|
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 |
|
 |
purusothaman
New User
Joined: 17 Feb 2007 Posts: 39 Location: Chennai
|
|
|
|
| Is SWMAIL a third party tool? |
|
| Back to top |
|
 |
|
|