Post code and the error message from the log into a code box opened with the forum {I} menu icon.
The error message you show would have an underscore _ character under the position with the error such as:
97 proc datasets library=work memtype=data;
NOTE: Writing HTML Body file: sashtml1.htm
98 modify file: ;
-
22
200
NOTE: Enter RUN; to continue or QUIT; to end the procedure.
ERROR 22-322: Syntax error, expecting one of the following: ;, (, /.
ERROR 200-322: The symbol is not recognized and will be ignored.
99 attrib _all_ label="";
100 quit;
The main message windows will reformat text and you would not be able to tell that the : character is not allowed in that position.
... View more