SAS Certified Adv Programmer 130 Questions (26)
Which one of the following automatic SAS macro variables contains the return code from a previously executed step?
A. &RC
B. &ERR
C. &SYSRC
D. &SYSERR
Topics:
SAS Adv Questions |
3 Comments »
D
D: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 contains a return code status that is set by the DATA step and some SAS procedures to indicate if the step or procedure executed successfully
%sysrc, an autocall macro, was created to enable you to test for specific I/O conditions while protecting your code from future changes in _IORC_ values