FORTRAN Reference Manual
Compiler Directives
FORTRAN Reference Manual—528615-001
10-60
SAVEABEND Compiler Directive
•
Use the ALL parameter to save the STARTUP message, PARAM message, and all 
ASSIGN messages.
•
If you omit the SAVE directive, FORTRAN does not save any messages or reserve 
any buffer space.
Example
?SAVE ALL
SAVEABEND Compiler Directive
The SAVEABEND directive specifies whether Inspect should automatically create a 
save file if the program terminates abnormally at run time. Use the SAVEABEND 
directive only with the INSPECT directive.
The default value is NOSAVEABEND.
Considerations
•
The save file captures the state of your program’s data and file status information 
at the point of failure. You can use Inspect to examine the save file.
•
Inspect creates the save file on the same volume as the program file and assigns it 
a name in the form:
ZZSA nnnn
where nnnn is a random number.
•
For additional information. Example, see Section 11, Running and Debugging 
Programs.
Example
?INSPECT, SAVEABEND
[NO]SAVEABEND










