The code returned by SYSRC is based on commands that
you execute using the X statement in open code, the X command in a
windowing environment, or the %SYSEXEC, %TSO, or %CMS macro statements.
Return codes are integers. The default value of SYSRC is 0.
You can use SYSRC to
check the return code of a system command before you continue with
a job. For return code examples, see the SAS companion for your operating
environment.