13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

401CHAPTER12Macro Variables and SystemOptions <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>Introduction to Macro Variables and System Options 401Macro Variables <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 401System Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 403Available System Options 403DB2CATALOG= System Option 403DBFMTIGNORE= System Option 404DBIDIRECTEXEC= System Option 405DBSRVTP= System Option 407<strong>SAS</strong>TRACE= System Option 408<strong>SAS</strong>TRACELOC= System Option 419SQLGENERATION= System Option 420SQLMAPPUTTO= System Option 422VALIDVARNAME= System Option 423Introduction to Macro Variables and System OptionsThis section describes the system options and macro variables that you can use with<strong>SAS</strong>/<strong>ACCESS</strong> software. It describes only those components of the macro facility thatdepend on <strong>SAS</strong>/<strong>ACCESS</strong> engines. Most features of the <strong>SAS</strong> macro facility are portable.For more in<strong>for</strong>mation, see the <strong>SAS</strong> Macro Language: <strong>Reference</strong> and the <strong>SAS</strong> Help <strong>for</strong>the macro facility.Macro Variables <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>SYSDBMSG, SYSDBRC, SQLXMSG, and SQLXRC are automatic <strong>SAS</strong> macrovariables. The <strong>SAS</strong>/<strong>ACCESS</strong> engine and your DBMS determine their values. Initially,SYSDBMSG and SQLXMSG are blank, and SYSDBRC and SQLXRC are set to 0.<strong>SAS</strong>/<strong>ACCESS</strong> generates several return codes and error messages while it processesyour programs. This in<strong>for</strong>mation is available to you through these <strong>SAS</strong> macro variables.SYSDBMSGcontains DBMS-specific error messages that are generated when you use<strong>SAS</strong>/<strong>ACCESS</strong> software to access your DBMS data.SYSDBRCcontains DBMS-specific error codes that are generated when you use <strong>SAS</strong>/<strong>ACCESS</strong>software to access your DBMS data. Error codes that are returned are text, notnumbers.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!