Provide a diagnostic tool to verify connectivity between CA Scheduler JM and the SMTP server when email notifications for jobs are not received.
CA Scheduler JM provides the TEST GROUP command that generates and sends a short email to addresses in an email group. The command displays all the communication between CA Scheduler JM and the SMTP server. The report produced by the TEST GROUP command is a useful tool in diagnosing where the problem is occurring.
Use the following JCL to execute the command:
//UTIL EXEC CAJUTIL0
//SYSIN DD *
TEST GROUP NAME=ACCTGROUP,SMTPADDR=141.202.065.011,SMTPPORT=25
NAME - Name of the email group you want to test with
SMTPADDR - Indicates the IPv4 address where the email (SMTP) server is located
SMTPPORT - Indicates the TCP/IP port number of the email (SMTP) server
Browse the report for a negative value in the RETURN CODE which indicates that there is a problem. The corresponding ERRNO is the true error and can be found in the IBM Manual - Communications Server IP Sockets API Guide and Reference.
For additional reading, refer to CA Scheduler Job Management Command Reference Guide, Chapter 2. Database Command.