IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

The "CC" on the JCL is not receiving the mail


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hariharan_82

New User


Joined: 18 Apr 2007
Posts: 23
Location: Chennai

PostPosted: Fri Sep 19, 2008 7:03 am
Reply with quote

Hi,

I am trying to send a mail thru a JCL. The "CC" on the JCL is not receiving the mail:

//BALASHB JOB (TPSA),'TEST',CLASS=F,MSGCLASS=H,
// MSGLEVEL=(1,1),NOTIFY=&SYSUID
//* $ACFJ219 ACF2 ACTIVE GSDEV
//*
//PPS3D01E EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
HELO GSDEV
MAIL FROM:<Hariharan.idchanged@gs.com>
RCPT TO:<xyz@oo.com>
CC TO:<abc@oo.com>
DATA
FROM:<Hariharan.idchanged@gs.com>
TO:<xyz@oo.com>
CC:<abc@oo.com>
SUBJECT:END OF DAY FROM TAGG FOR 18th Sep 08
Hi,

Could you please let me know if this is the right syntax for 'CC' ?

Thanks,
Hariharan
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Sep 19, 2008 7:56 am
Reply with quote

Hello,

Try changing the second line of
Code:
RCPT TO:<xyz@oo.com>
CC TO:<abc@oo.com>

to
Code:
RCPT TO:<xyz@oo.com>
RCPT TO:<abc@oo.com>
Back to top
View user's profile Send private message
hariharan_82

New User


Joined: 18 Apr 2007
Posts: 23
Location: Chennai

PostPosted: Fri Sep 19, 2008 9:41 am
Reply with quote

Hey,

I tried that too...but when I do that I get both names on the 'TO' list and not on the 'CC'. Its imperitive that I have the other name on the 'CC"

Could you please help me oput with this?

Thanks,
Hari
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Sep 19, 2008 11:17 am
Reply with quote

Hello,

You might ask your support people if XMITIP is available on your system.

It is free, but does need to be installed.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Sep 19, 2008 4:58 pm
Reply with quote

This probably is not a mainframe issue. When I send an email with RCPT TO: <a@b.com> and then put CC: a@b.com after the DATA line, the email shows up in my inbox with a@b.com as the CC. Try it with full address in the RCPT TO: field and the same address without the <> in the CC: line. If the email shows up with a blank CC field, your mail server on the receiving network cannot handle the CC field correctly; you would need to discuss this with the person(s) supporting the mail server you are sending to.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
No new posts mail attachment with excel format All Other Mainframe Topics 2
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
Search our Forums:

Back to Top