Pass-Through Facility: PC Files on Linux, UNIX, and 64-Bit Microsoft Windows |
This section contains syntax for the Pass-Through Facility statements and the CONNECTION TO component. You can use the component with the PROC SQL SELECT statement to query data from a data source.
PROC SQL <option(s)>;
|
Return Codes |
As you use the PROC SQL statements that are available in the Pass-Through Facility, any error conditions are written to the SAS log. The Pass-Through Facility generates return codes and messages that are available to you through the following two SAS macro variables:
contains the data source return code that identifies the data source error.
contains descriptive information about the data source error that is generated by the data source.
The contents of the SQLXRC and SQLXMSG macro variables are printed in the SAS log using the %PUT macro. They are reset after each Pass-Through Facility statement has been executed.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.