CMP writes a symptom record in the LOGREC for two conditions:
- At the end of each module, CMP SVC writes a LOGREC entry if it
detects that the return code is greater than or equal to RC_WARN (X'08')
and the called module has not recorded.
- When the recovery routine gets control during an unexpected exception
condition, it will record a LOGREC entry before taking the dump.
This is to ensure that some serviceability information is recorded
in LOGREC, even if the dump is not successful.
The LOGREC contains this recorded information:
- The failing module identifier
- The return and reason codes
- The control blocks that are available at the time of record
- The module that actually performed the record (CMPSVCSY)