You can use the value of SYSERR as a condition to determine
further action to take or to decide which parts of a SAS program to
execute. SYSERR is used to detect major system errors, such as out
of memory or failure of the component system when used in some procedures
and DATA steps. SYSERR automatic macro variable is reset at each step
boundary. For the return code of a complete job, see
SYSCC Automatic Macro Variable.
SYSERR
can contain the following values:
SYSERR Values
|
|
|
Execution completed
successfully and without warning messages.
|
|
Execution was canceled
by a user with a RUN CANCEL statement.
|
|
Execution was canceled
by a user with an ATTN or BREAK command.
|
|
An error in a program
run in batch or non-interactive mode caused SAS to enter syntax-check
mode.
|
|
Execution completed
successfully but with warning messages.
|
|
Execution was canceled
by a user with an ABORT CANCEL statement.
|
|
Execution was canceled
by a user with an ABORT CANCEL FILE statement.
|
|
An error occurred.
The value returned is procedure-dependent.
|
The following table contains warning return codes.
The codes do not indicate any specific problems. These codes are guidelines
to identify the nature of a problem.
SYSERR Warning Codes
|
|
|
Problem with one or
more BY groups
|
|
Error with one or more
BY groups
|
|
Memory problems with
one or more BY groups
|
|
I/O problems with one
or more BY groups
|
The following table contains error return
codes. The codes do not indicate any specific problems. These codes
are guidelines to identify the nature of a problem.
SYSERR Error Codes
|
|
|
|
|
|
|
|
|
|
|
|
|
Attribute processing
problem
|
|
|
|
|
|
|
|
A step was stopped or
an ABORT statement was issued.
|
|
An ABORT RETURN statement
was issued.
|
|
An ABORT ABEND statement
was issued.
|
|
Severe system error.
The system cannot initialize or continue.
|