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

Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
Hi,
First, apologies for putting the question in IBM support Index for XMITIP which is no where related to IBM but I couldn't find any other index suitable to put this.
Question - I am trying to send some reports using XMITIP. It says that the transmit is successful however I do not get the email.
| Code: |
XMITIP:
INMX000I 0 message and 1024 data records sent as 839 records to node.SMTP
INMX001I Transmission occurred on 04/23/2014 at 15:02:43.
XMITIP:
XMITIP: Message maximum record size is: 136
XMITIP:
XMITIP: Message successfully transmitted
XMITIP: Sent 1021 records as text, attachments, and control information.
XMITIP: Approximate byte count is: 64,205
READY
END
|
The LPAR name has been replaced by "node".
I am using the below for sending the report.
| Code: |
//EMAIL EXEC PGM=IKJEFT1B,COND=(0,LT)
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSEXEC DD DISP=SHR,DSN=SYS7.ISPCLIB
//MSG DD *
RACF REPORT
//SYSTSIN DD *
%XMITIP * +
ADDRESSFILEDD ADDRESS +
FROM sender email address +
FILEDD (SAUSR ) +
IGNORECC MSGDD MSG +
HLQ IDSX0$P +
FORMAT TXT +
SUBJECT 'RACF REPORT - &DATE '
//ADDRESS DD *
TO email address
//SAUSR DD DISP=SHR,DSN=DATASET NAME
|
Upon checking I saw that the SMTP STC name is TDCSMTP instead of SMTP. Could this be the reason why the email is not going through?
If my doubt is correct, how do I tell XMITIP to send it through TDCSMTP instead?
Thanks in advance for the support from the community.
Regards
Gaurav |
|
| Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
| Yes, your email is not being sent because SMTP is never seeing it. Have you checked the XMITIP user guide or web site on how to change the SMTP task name? |
|
| Back to top |
|
 |
graswant
New User

Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
Yes I have gone through the guide to check if there is some statement I can use but couldn't find one. The closest I could get in the guide was VIANJE but I couldn't find any example to see if I can relate this with the issue I have.
VIANJE
Defines a NJE Node where the e-mail is to be routed where a SMTP server will pick it up from the JES SPOOL to send |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you find an XMITIP process that works in your environment and compare to what you have tried. |
|
| Back to top |
|
 |
graswant
New User

Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
Hey Dick,
The same process works fine on our Prod LPAR's where SMTP STC is named as SMTP however on UAT LPAR's the STC is TDCSMTP.
The reason for me to put a query is to get info from the experts about any statement or way to tell XMITIP to pick TDCSMTP instead of SMTP.
Regards
Gaurav |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
As none of us are familiar with the setup of your system, suggest you speak with the people who maintain your lpar configurations. Hopefully, they have a job that sends an SMTP e-mail on the UAT lpar. |
|
| Back to top |
|
 |
Stefan
Active User

Joined: 12 Jan 2006 Posts: 113 Location: Germany
|
|
|
|
Have you tried to add the VIANJE keyword ?
| Code: |
//EMAIL EXEC PGM=IKJEFT1B,COND=(0,LT)
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSEXEC DD DISP=SHR,DSN=SYS7.ISPCLIB
//MSG DD *
RACF REPORT
//SYSTSIN DD *
%XMITIP * +
ADDRESSFILEDD ADDRESS +
FROM sender email address +
FILEDD (SAUSR ) +
IGNORECC MSGDD MSG +
HLQ IDSX0$P +
FORMAT TXT +
SUBJECT 'RACF REPORT - &DATE ' +
VIANJE 'TDCSMTP'
//ADDRESS DD *
TO email address
//SAUSR DD DISP=SHR,DSN=DATASET NAME |
|
|
| Back to top |
|
 |
graswant
New User

Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
Thanks Stefan, I tried Vianje but that didnt work. But I managed to make it work by making a copy of XMITIPCU, modified it with entries of TDCSMTP.
Thanks guys for your suggestions. |
|
| Back to top |
|
 |
|
|