Automatic Macro Variables |
Type: | Automatic macro variable (read and write) |
Details |
Details |
The code returned by SYSRC is based on commands 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.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.