I would like to how to change the value of automatic macro variable &syscc. I tried the code below, but it's not working. Any help? Also I want to know some examples where we get this error in real life. I knew that error code 1012 means 'General error condition' what does mean is my question.
%let syscc=1012;
data _null_;
if &syscc.=1012 then
call symput(syscc,0);
run;
Error:
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
29:36 29:42
ERROR: Symbolic variable name . must begin with a letter or underscore.
NOTE: Invalid argument to function SYMPUT(' .',' 0') at line 29 column 29.
SYSCC=. _ERROR_=1 _N_=1
NOTE: The SAS System stopped processing this step because of errors.
... View more