0
votes

In SAS, when using PROC SQL, I receive the error message

ERROR 180-322: Statement is not valid or is used out of proper order

relatively frequently due to missing out a semi colon in the PROC SQL statement. However, even if I fix the code, these errors are not resolved unless I quit the SAS application and restart it and rerun the fixed code.

Does anyone know of a way to resolve these errors that doesn't require having to restart SAS for the fix to work?

1
Please edit your question to share an example of code that causes the error shown so that we can try it for ourselves and test any potential solution before posting an answer. Thanks.Amir

1 Answers

2
votes

You might be able to recover by submitting an appropriate magic string, e.g.

*;*';*";*/;quit;