The diagnostic report reduces the time spent searching for relevant diagnostic information stored at multiple locations. The diagnostic report will collect information on CICS API failures, Run-Time System (RTS) errors, and JCL process failures.
To enable application diagnostic reporting, add the following to your enterprise server region's Configuration Information field on the Properties page in ESCWA:
[ES-Environment] ES_FAILURE_REPORT_ENABLED=Y
The default value is N.
You can perform additional report configuration using the following variables:
If failure reporting has been enabled the default value is Y.
If failure reporting has been enabled the default value is Y.
If failure reporting has been enabled the default value is Y.
The diagnostic reporting can also be configured from the ESCWA ES Control page. See ES Control for more information.
The following message is displayed in the console log when an application diagnostic report is created:
DU0006I Failure report file (%1$s) created
Or if it fails to create the report:
DU0007W Unable to create failure report file (%1$s)
The diagnostic report is written to the default System Directory, located by default in %USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\ESName (Windows) or /var/mfcobol/es/ESName (UNIX). This is typically the location of the console.log file.
The following is an example of the start of the diagnostic report:
Start of Enterprise server failure report Date: 12/18/2020 (mm/dd/yyyy) Time: 13:49:10.24 Process ID: 00001818 Thread ID: 69914880 Failure type: RTS-Err ...
Where the Failure type can be:
A failure summary is then displayed. This is specific to the failure type and the report configuration.