If you have unbalanced quotes in a SAS session, it will affect the rest of the code you submit in your current SAS session. Therefore, you need to balance the quotation marks.
You might see the following error in the SAS log window if you run into this problem:
To correct this problem, perform the following:
Submit this string from the Program Editor:
*';*";
run;