Defined the Sysview Performance Management Option for Db2 for z/OS (IDB2) hlq.SOURCE(DESTGRPS) member
correctly in DEST-GROUPS-DSN data set. Then run a test with TESTMAIL command but users did not receive any email.
DEFINE DESTINATION V00ssid
DESC 'Support Team MF DB2'
FROM '[email protected]'
TO '[email protected]'
TESTMAIL Modify command: /F ssidDC,TESTMAIL,V00ssid
ssidDC was the Data Collector started task.
In the Data Collector output there was only the DBG38013I message:
DBG38013I ssid ... COMMAND QUEUED FOR EXECUTION.
To obtain more information for the DBG38013I message you have to start the IDB2 data collector with DEBUG-LEVEL=4 parameter.
However be aware to run this setting on the production environment, because XNETAGT=YES produces a lot of diagnostic
messages for Xnet.
With the DEBUG-LEVEL=4 parameter found the following error messages in the data collector output.
DBG38013I ... COMMAND QUEUED FOR EXECUTION.
DBG36007E ... DYNALLOC ERROR. RETURN CODE 0004 ERROR CODE 046C INFO CODE 0000.
IKJ56875I SYSOUT DATA SET NOT ALLOCATED, DESTINATION UNDEFINED TO SUBSYSTEM
DBG36011E ... ALLOCATION FAILED FOR DDNAME DBGSMTP .
DBG72042E ... Mail was not sent from V00ssid-> ... for the following exception:
DBG72040I ... TESTMAIL This is a test message from SYSVIEW for DB2
The DBG38013I message and the other error messages for Dynamic Allocation would usually be issued in case the
value in SMTP-SYSOUT and SMTP-WRITER parameters do not match the configuration parameters in the SMTP server.
The default values we use in IDB2 data collector are class 'B' and 'SMTP'.
In case you are using different values in your SMTP configuration you would need to update these two parameters and recycle the data collector.