IBM Extension

ABORT()

Purpose

Terminates the program. It truncates all open output files to the current position of the file pointer, closes all open files, and sends the SIGABRT signal to the current process.

If this signal is neither caught nor ignored, the core file is saved in the file /cores/core.PID, where PID is the Processs ID of the current process.

Class

Subroutine

Examples

The following is an example of a statement using the ABORT subroutine.

IF (ERROR_CONDITION) CALL ABORT
End of IBM Extension