The DISCONNECT statement
ends the connection with the data source. If the DISCONNECT statement
is omitted, an implicit DISCONNECT is performed when the procedure
ends. The SQL procedure continues to execute until you submit a QUIT
statement, a SAS procedure, or a DATA step.
The contents of the
SQLXRC and SQLXMSG macro variables can be written to the SAS log using
the macro. The contents are reset after each pass-through facility
statement is executed.