Hi:
Without seeing your entire log, I'd say offhand that it is NOT a problem with PROC REPORT. You are using &OTHER_BASE300 in a COLUMN statement. The items that are in a column statement are either your spanning headers (in quotes) -- variable names, computed item names or keyword statistics, such as N or PCTN.
Variable names and computed item names must conform to SAS naming rules. Unless you are using named literals, a SAS variable name can only start with a letter or an underscore -- a SAS variable name CANNOT start with a number.
When your macro varaible &OTHER_BASE300 resolves, the NOTE shows you what it resolves to:
[pre]
NOTE: Line generated by the macro variable "OTHER_BASE300".
28390 300MM_DICER MAGNUM RAIDER_2 RECUP SCRUBBER
[/pre]
300MM_DICER is not a valid SAS variable name to be listed in a COLUMN statement. If this is the correct variable name, then you will have to construct it as a named literal (which is generally something like 'Age Hired'n -- a quoted string followed immediately by an n).
The issue is not with PROC REPORT. You would encounter this issue in any code where you used &OTHER_BASE300 for variable names. The ERROR you got in the log:
[pre]
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, _ALL_,
_CHARACTER_, _CHAR_, _NUMERIC_.
[/pre]
...tells you exactly what it's expecting a name, a quoted string (such as with a named literal reference), or one of the special methods for referencing variables.
cynthia