Provide a diagnostic tool to verify connectivity between Scheduler and the SMTP server when email notifications for jobs are not received.
Component: Scheduler Job Management MVS
Scheduler 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 Scheduler 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=EMAILGROUP,SMTPADDR=###.###.###.###,SMTPPORT=nnn
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. ERRNO=00000000 means that Scheduler successfully communicates with the SMTP mail server.
How to track emails sent out by Scheduler Job Management: