with the NOSYNTAXCHECK options you should avoid the "ERROR:" in the log
This is not true, if this option is set then sas system will not enter syntax check mode when relevant errors occur, and instead continues to run code after the point where the errors occurred.
Most of the situations this will be a default option. Check your options running this.
proc options;
run;
Also SYNTAXCHECK | NOSYNTAXCHECK is for non-interactive or batch session. DMSSYNCHK | NODMSSYNCHK in the windowing environment.
FYI....read this paper for more understanding An Overview of Syntax Check Mode and Why it is Important
Thanks,
Suryakiran