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
 

 

Need help for XMITIP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: Need help for XMITIP
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: 7913
Location: Bellevue, IA

PostPosted: Wed Apr 23, 2014 3:36 pm    Post subject:
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    Post subject: Reply to: Need help for XMITIP
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

Site Director


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

PostPosted: Wed Apr 23, 2014 6:56 pm    Post subject:
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    Post subject: Reply to: Need help for XMITIP
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

Site Director


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

PostPosted: Wed Apr 23, 2014 8:49 pm    Post subject:
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: 110
Location: Germany

PostPosted: Fri Apr 25, 2014 12:16 pm    Post subject:
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    Post subject: Reply to: Need help for XMITIP
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XMITIP, sending the mainframe data in... dharmaraok TSO/ISPF 7 Fri Aug 21, 2015 4:29 pm
No new posts JCL -> Rexx -> XMITIP : Doesnt ... enrico-sorichetti CLIST & REXX 2 Thu Aug 06, 2015 11:09 pm
This topic is locked: you cannot edit posts or make replies. Zipping Multiple RTF files using XMITIP Sridhar R JCL & VSAM 1 Thu Nov 08, 2012 11:39 am
No new posts XMITIP date format DDMMYY nebivedu All Other Mainframe Topics 1 Wed Mar 28, 2012 5:40 pm
No new posts Doubt on XMITIP vicharapusrinu All Other Mainframe Topics 4 Wed Feb 22, 2012 7:58 pm


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