When a
SAS/CONNECT
session is started and the NOTERMINAL option is set, the internal
option SYNTAXCHECK is automatically set. If you remote-submit a statement
that follows a syntax error, the statement is parsed but is not processed.
An example of the problem
and recovery follows:
data a;
do i=1 to 10;
outpt;
end;
run;
data b;
x=1;
run;
Data set A is not created because of the syntax
error that is caused by the misspelling of the word “OUTPUT”.
Data set B is not created because SAS is in syntax check mode from
the previous syntax error. Only the DATA step will be parsed.
To prevent this problem,
add the NOSYNTAXCHECK option to the server session SAS invocation
options in the script file.