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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: The "CC" on the JCL is not receiving the mail
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

Site Director


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

PostPosted: Fri Sep 19, 2008 7:56 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Sep 19, 2008 11:17 am    Post subject:
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: 7995
Location: Bellevue, IA

PostPosted: Fri Sep 19, 2008 4:58 pm    Post subject:
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    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 Mail via SMTP with an image? Mike 1304 JCL & VSAM 4 Thu Jan 26, 2017 2:01 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Multi row fetch - "for read only... Nileshkul DB2 3 Sun Aug 14, 2016 12:52 am
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm


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