View previous topic :: View next topic |
Author |
Message |
m.vinay kumar Beginner
Joined: 02 Jun 2015 Posts: 7 Topics: 2
|
Posted: Sat Jul 04, 2015 3:29 am Post subject: How to add mail ID's in CC field of jcl |
|
|
Hi,
I have prepared JCL to send Mail with attachment, its working fine.
I want to know what is the syntax for adding mail ID's in CC so that instead of keeping some Mail ID's in RCPT (TO field) i want some mail ID's to keep in CC of mail.
If i use Code: | CC TO:<XXXX@xx.COM> |
Its Not getting delivered to CC'd mail ID.
Please help me out ASAP.
Thanks in advance. _________________ Vinay Kumar |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Mon Jul 06, 2015 9:52 am Post subject: Re: How to add mail ID's in CC field of jcl |
|
|
m.vinay kumar wrote: |
Please help me out ASAP. |
m.vinay kumar,
Please do NOT demand solution. people help here voluntarily. Avoid terms like URGENT/ASAP and posting in CAPS. This will actually put off people who want to help.
If you looked at the manual you would found the answer.
Put the CC name also in the RCPT to list and it will get you desired results. Check this example
Code: |
//SYSUT1 DD *
HELO YOURMVS
MAIL FROM:<CAROL@YOURMVS>
RCPT TO:<msgs@rsch.our.edu>
RCPT TO:<alice@ai.our.edu> << your cc name
DATA
Date: Thur, 26 Mar 92 21:48:57 EST
From: Carol <CAROL@YOURMVS>
To: <msgs@rsch.your.edu>
Cc: <alice@ai.your.edu> Subject: update
Mike: Cindy stubbed her toe. Bobby went to
baseball camp. Marsha made the cheerleading team.
Jan got glasses. Peter has an identity crisis.
Greg made dates with 3 girls and couldn't
remember their names.
.
QUIT
/* |
Check this link for a detailed explanation.
http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.halu001/ubsmtp.htm _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|