CBL_FFND_REPORT

Note: This API is not currently available on Windows platforms.

Enables a COBOL program to invoke FaultFinder.

Syntax:
CALL "CBL_FFND_REPORT" using  by value        rtserr
                              by value        terminate
                              returning       status-code
Parameters:
rtserr cblt-x4-comp5.
terminate cblt-x4-comp5.
status-code See Library Routines - Key
On Entry:
terminate Can be one of the following:
Bit Meaning
0 Continue execution after the FaultFinder report is produced.
1 Terminate the run-time system after the FaultFinder report is produced. If rtserr is non-zero, that run-time system error is reported on exit.
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.
Comments:

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.