Using a PROC SQL View might produce an error if the table from which the view is created is an indexed SASĀ® data set


Using a PROC SQL View might produce the error "Libref X is not assigned."

The error occurs when all of the following are true:

The error does not set the automatic macro variables &SQLRC, &SYSRC, &SYSERR to nonzero values and does not stop the step from executing.

If the option MSGLEVEL=I is not used, the error is not written to the SAS Log.