This:
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release. Inserting white space between a quoted string and the succeeding identifier is recommended.
is a clear indicator of unbalanced quotes somewhere further up in the code. The following ERRORs are a consequence of this.
... View more