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

Need help for XMITIP


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Apr 23, 2014 2:37 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Apr 23, 2014 3:36 pm
Reply with quote

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
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Apr 23, 2014 3:58 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Apr 23, 2014 6:56 pm
Reply with quote

Hello,

Suggest you find an XMITIP process that works in your environment and compare to what you have tried.
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Apr 23, 2014 7:15 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Apr 23, 2014 8:49 pm
Reply with quote

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
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 113
Location: Germany

PostPosted: Fri Apr 25, 2014 12:16 pm
Reply with quote

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
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Sun Apr 27, 2014 12:11 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts XMITIP Latest Version JCL & VSAM 2
No new posts Query on XMITIP All Other Mainframe Topics 1
No new posts Format issues using XMITIP MSGDD CLIST & REXX 5
No new posts XMITIP sends it out. Can it copy on l... IBM Tools 0
No new posts Splitting of single report to seperat... TSO/ISPF 7
Search our Forums:


Back to Top