This is taken from a Proc SQL statement I've had to change names etc due to the nature of the data. What you say it should resolve to is correct but it doesn't. This line is followed by about 20 more bringing in various variables and formatting them. I get the same error for everyone.
PROC SQL;
CREATE TABLE WORK.CUSTOMERS_NEW_ACCOUNT AS SELECT MYYDATA_AREA_&MACRO..ID FORMAT=$8.,
____
202
the 202 code is shown below the variable name.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
ERROR 22-322: Syntax error, expecting one of the following: a quoted string, !, !!, &, (, *, **, +, ',', -, '.', /, <, <=, <>, =,
>, >=, ?, AND, AS, BETWEEN, CONTAINS, EQ, EQT, FORMAT, FROM, GE, GET, GT, GTT, IN, INFORMAT, INTO, IS, LABEL, LE,
LEN, LENGTH, LET, LIKE, LT, LTT, NE, NET, NOT, NOTIN, OR, TRANSCODE, ^, ^=, |, ||, ~, ~=.