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: 8118
Location: East Dubuque, Illinois, USA

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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Mail via SMTP with an image? Mike 1304 JCL & VSAM 4 Thu Jan 26, 2017 2:01 pm


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