why is xit7mail not sending emails after package cast and how is Endevor sending the email to SMTP?
search cancel

why is xit7mail not sending emails after package cast and how is Endevor sending the email to SMTP?

book

Article ID: 41419

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Using xit7mail and can't tell if the the emails are being sent or received.  What can be done to look and determine where the problem is (Endevor or SMTP) and how does Endevor send this information to SMTP?

 

Environment

Release: 18.0 
Component: ENDBAS

Resolution

There are two parts to this question.  The easiest way to determine who is having the problem sending or receiving emails using SMTP would be to run a  foreground or batch job that has the trace - EN$TRNTF.  Set up an allocate DD to your foreground session as follows:

ALLOC DD (EN$TRNTF) DA (MY.SMP.TRACE.DATSET) MOD

Make sure that the dcb setting are set as:

RECFM (FBA)
LRECL (133)
BLKSIZE (MULTIPLE OF 133)

To stop the trace:

FREE DD (EN$TRNTF)

This is an example of what the trace looks like:

DIAGNOSTICS OUTPUT LISTING 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) 88859396 40D4C8E2 F0F7D1C5 E2404040 40404040 40404040 40404040 40404040 *hello smtp server name * 001D5948 (+0020) 40404040 40404040 40404040 40404040 40404040 40404040 40404040 40404040 * * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) D4818993 40C69996 947A4CC5 D5C4C5E5 D6D97CA3 99899589 A3A86088 858193A3 *Mail From:<ENDEVOR@company namne* 001D5948 (+0020) 884B9699 876E4040 40404040 40404040 40404040 40404040 40404040 40404040 *.org> * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) D98397A3 40E3967A 4CC5D5C4 C1C4D4C9 D57CE3D9 C9D5C9E3 E860C8C5 C1D3E3C8 *Rcpt To:<ENDEVOR@company na*
001D5948 (+0020) 4BD6D9C7 6E404040 40404040 40404040 40404040 40404040 40404040 40404040 *me.ORG> * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) 8481A381 40404040 40404040 40404040 40404040 40404040 40404040 40404040 *data * 001D5948 (+0020) 40404040 40404040 40404040 40404040 40404040 40404040 40404040 40404040 * * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) C6999694 7A404040 404040C5 D5C4C5E5 D6D97CA3 99899589 A3A86088 858193A3 *From: ENDEVOR@company namne* 001D5948 (+0020) 884B9699 87404040 40404040 40404040 40404040 40404040 40404040 40404040 *.org * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) E3967A40 40404040 40C5D5C4 C1C4D4C9 D57CE3D9 C9D5C9E3 E860C8C5 C1D3E3C8 *To: <ENDADMIN@company name * 001D5948 (+0020) 4BD6D9C7 40404040 40404040 40404040 40404040 40404040 40404040 40404040 *.ORG> * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) E2A48291 8583A37A 40C59584 85A59699 40D78183 92818785 40D985A5 8985A640 *Subject: Endevor Package Review * 001D5948 (+0020) 6040E3D9 C5D3F0F0 F0F0F0F9 40404DE3 E3C5C3D7 D4C7405D 40404040 40404040 *- TREL000009 (TTECPMG ) * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) 40404040 40404040 40404040 40404040 40404040 40404040 40404040 40404040 * * 001D5948 (+0020) 40404040 40404040 40404040 40404040 40404040 40404040 40404040 40404040 * * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) E3888540 C5D5C4C5 E5D6D940 D7818392 81878540 89A24099 858184A8 40869699 *The ENDEVOR Package is ready for* 001D5948 (+0020) 40A896A4 99409985 A58985A6 4B404040 40404040 40404040 40404040 40404040 * your review. * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) C485A283 998997A3 8996957A 4040E3C5 E2E34040 40404040 40404040 40404040 *Description: TEST * 001D5948 (+0020) 40404040 40404040 40404040 40404040 40404040 40404040 40404040 40404040 * * 001D5968 (+0040) 40404040 40404040 40404040 40404040 * * 015:21:56:11 DATA WRITTEN BY BC1PNTFY 001D5928 (+0000) 4B404040 40404040 40404040 40404040 40404040 40404040 40404040 40404040 * * 001D5948 (+0020) 40404040 40404040 40404040 40404040 40404040 40404040 40404040 40404040 * * 001D5968 (+0040) 40404040 40404040 40404040 40404040
* *
 
If the trace contains information, it means that we have sent the data to SMTP.
If the trace does not have any information, then it is a Endevor problem.
 
The other part of the question is how does Endevor do the notify SMTP?

Endevor writes the notify out to a SYSOUT file with SMTP as the reader - then allocate it dynamically

//SYSUT2 DD SYSOUT=(B,SMTP),FREE=CLOSE (the ouput dd writing to SMTP)