@Astounding Already gave you the answer.
Consider this test program.
%macro test;
* Comment without closing semi-colon
%let xx=macro var assignment;
data x;
set y;
run;
%mend test;
See what happens when you run it:
293 options mprint;
294 %test;
MPRINT(TEST): * Comment without closing semi-colon data x;
NOTE: Line generated by the invoked macro "TEST".
294 set y;
---
180
MPRINT(TEST): set y;
ERROR 180-322: Statement is not valid or it is used out of proper order.
MPRINT(TEST): run;
If you are really running the exact same file then check and make sure you have not truncated the ends of the lines on the "mainframe" version.
... View more