SAS identifies a syntax error at the position of the VAR statement.
SAS is reading VAR as an option in the PROC PRINT statement.
SAS has stopped processing the program because of errors.
all are true.
Now you have to ask yourself: what could be the reason for SAS to find a syntax error where VAR appears in the code?
Hint: Maxim 1 (read the documentation): http://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.3&docsetId=proc&docsetTarget=p10qiuo2yicr4qn17rav8kptnjpu.htm&locale=en, see the examples section for selecting variables.
... View more