SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 38204: Using the AUTHDOMAIN= option with SAS/ACCESS® 9.2 engines

DetailsAboutRate It

The AUTHDOMAIN= option enables you to avoid explicitly specifying a database user ID and password in a SAS program. You define an authorization domain in metadata and define the associated credentials in a metadata repository.  Then, you can simply reference the authorization domain in a LIBNAME statement or in the SQL procedure pass-through code, as shown in the following examples:

proc sql;
connect to oracle(authdomain="oracle-authorization-domain" path=oracle-database);
create table foo as
select * from connection to oracle
(select * from employees where jobcode=602);
quit;
libname oralib oracle authdomain="oracle-authorization-domain" path=oracle-database;

The SAS/ACCESS engine accepts the credentials as if the user specified them in the USER= and PASSWORD= options.

The authentication domain and the associated login definition must be stored in a metadata repository and the metadata server must be running in order to resolve the metadata object specification.

When you are running interactively, you can be prompted for connection properties. Prompting occurs when either METASERVER= or METAPORT= are not specified.  To avoid the prompt, you can use the following OPTIONS statement before using authdomain= option.

options metauser="metadata-userid"  
        metapass="metadata-password" 
        metaport=8561
        metaprotocol=bridge
        metarepository="metadata-repository"
       
 metaserver="server-name";


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to OracleWindows 7 Ultimate 32 bit9.219.2 TS2M2
Windows 7 Professional 32 bit9.219.2 TS2M2
Windows 7 Professional x649.219.2 TS2M2
Windows 7 Home Premium x649.219.2 TS2M2
Windows 7 Enterprise x649.219.2 TS2M2
Windows 7 Home Premium 32 bit9.219.2 TS2M2
Windows 7 Enterprise 32 bit9.219.2 TS2M2
Microsoft Windows XP Professional9.219.2 TS2M2
Microsoft Windows Server 2003 Standard Edition9.219.2 TS2M2
Microsoft Windows Server 20089.219.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.219.2 TS2M2
Microsoft Windows Server 2003 Datacenter Edition9.219.2 TS2M2
Microsoft Windows XP 64-bit Edition9.219.2 TS2M2
Microsoft® Windows® for x649.219.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.219.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.219.2 TS2M2
z/OS9.219.2 TS2M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.219.2 TS2M2
Windows 7 Ultimate x649.219.2 TS2M2
Windows Vista9.219.2 TS2M2
64-bit Enabled AIX9.219.2 TS2M2
64-bit Enabled HP-UX9.219.2 TS2M2
64-bit Enabled Solaris9.219.2 TS2M2
HP-UX IPF9.219.2 TS2M2
Linux9.219.2 TS2M2
Linux for x649.219.2 TS2M2
OpenVMS on HP Integrity9.219.2 TS2M2
Solaris for x649.219.2 TS2M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.