When job abends, we get this message and Ca7 is not sending out emails : -
CAL2E015E COULD NOT CONNECT TO SMTP SERVER
Release : 12.0
Component : CA-7
Run the Email Test Utility supplied in CAL2JCL library member name is AL2EMAIL
The output from this utility will provide more details of returned Trace Codes
In this case CAL2E008I TCP/IP FUNCTION CONNECT IPV4 RETCODE=-00000001 ERRNO=00000061
The error implies the connection is refused.
Customer was able to establish that the IP address of the SMTP Server was incorrect