SAS codes (SYSCC
, and SYSERR
) indicate different log results when SAS programs run in UNIX
or PC SAS
. Which is the best or most efficient way to use these codes?
This is how I use SAS macro exit codes in my SAS:
X "echo &syscc > progerr.txt";
%put syserr= &syserr syscc = &syscc sysrc = &sysrc;
I would like to hear how the rest of you handle SAS exit/return codes?