COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
SAVEABEND and NOSAVEABEND
SAVEABEND
generates a saveabend file if the process terminates abnormally. Sets the Inspect attribute.
NOSAVEABEND
does not generate a saveabend file if the process terminates abnormally.
NOSAVEABENDDefault:
AnywherePlacement:
The last SAVEABEND or NOSAVEABEND in the compilation unit applies to the
entire compilation unit.
Scope:
SAVEABEND and NOINSPECT override each other (whichever is last is active).
SAVEABEND and NOSAVEABEND are appropriate only if the program was
compiled with RUNNABLE.
Dependencies:
References:
• INSPECT and NOINSPECT
• RUNNABLE
SEARCH and NOSEARCH
NOTE: The compiler ignores the NOSEARCH directive and issues a warning.
SEARCH
adds the files that object-name-list specifies to the primary search list. (See Primary
Search List.)
NOSEARCH
is ignored.
object-name-list
can be continued onto subsequent lines, but the left parenthesis must appear on the same
directive line as the keyword SEARCH. Each continuation line for a SEARCH directive must
have a question-mark (?) in the indicator area. If a SEARCH directive spans multiple lines, they
must be consecutive (no blank lines, comment lines, or program text lines can intervene).
Compiler Directives 565










