Note: This API is not currently available on Windows platforms.
Enables a COBOL program to invoke FaultFinder.
CALL "CBL_FFND_REPORT" using by value rtserr by value terminate returning status-code
rtserr | cblt-x4-comp5. |
terminate | cblt-x4-comp5. |
status-code | See Library Routines - Key |
terminate | Can be one of the following:
| ||||||
rtserr | If non-zero, this is a valid run-time system error code that is reported by FaultFinder. If zero, no run-time system error is reported. |
You can use this call to invoke FaultFinder, which immediately generates a report file based on the current settings of the FaultFinder run-time tunables. If the faultfind_level tunable is zero, CBL_FFND_REPORT still runs successfully; however, the FaultFinder report contains no traceback information or open file information. Whether the program continues executing subsequent to FaultFinder producing its report depends on the value you set for terminate.