C/C++ Programmer's Guide (G06.25+)

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-81
SAVEABEND
For native programs, you can set the HIGHREQUESTERS object-file attribute
either during compilation using the HIGHREQUESTERS pragma or after compilation
using a linker utility.
A named process running at a high PIN can be opened with the Guardian OPEN
system procedure by an unconverted process running at a low PIN. For example, a
named server process can be opened by an unconverted requester process.
An unconverted process is one that has not been modified to use any of the
extended features of the D-series Guardian procedures. Unconverted processes
can run only at a low PIN, while converted processes can run at either a low PIN or
a high PIN. For more information, see the Guardian Programmer’s Guide.
When a named process is deleted, it prompts the operating system to send a
message to the process that created it. For example, a process that creates server
processes needs to be informed if one of the created processes is deleted.
Similarly, a process that manages a batch job needs to be informed about the
survival of processes within the job.
The operating system sends a message when a named process is deleted as a
result of either normal process termination or a processor failure. The operating
system sends a message when an unnamed process is deleted only as a result of
a normal process termination. It is up to the process that created the unnamed
process to check for processor failure. For details on creating and managing
processes, see the Guardian Programmer’s Guide.
SAVEABEND
The SAVEABEND pragma controls whether the system creates a save file if the
program terminates abnormally during execution. The SAVEABEND pragma specifies
that the system is to create a save file if the program terminates abnormally.
NOSAVEABEND specifies that the system is not to create a save file.
The pragma default settings are:
[NO]SAVEABEND
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler NOSAVEABEND NOSAVEABEND
G-series TNS c89 utility NOSAVEABEND NOSAVEABEND
TNS/R native C and C++ compilers NOSAVEABEND NOSAVEABEND
Native c89 utility NOSAVEABEND NOSAVEABEND
TNS/E native C and C++ compilers NOSAVEABEND NOSAVEABEND