AUTHLIB Procedure

Example 1: Binding a Physical Library That Contains Unprotected Data Sets

Features:
PROC AUTHLIB statement options:
CREATE statement options:
PW=
SECUREDLIBRARY=
SECUREDFOLDER=

Details

This example demonstrates binding a physical library that contains data sets that do not have passwords or AES encryption.

Program

proc authlib lib=zyxwvut; 
    create securedfolder="Department XYZZY"    
        securedlibrary="ZYXWVUTEmps"  
        pw=secretpw;  
run;
quit;    
 

Program Description

Library ZYXWVUT contains three data sets that do not have passwords: Employees, EmpInfo, Product.
proc authlib lib=zyxwvut; 
Using the CREATE statement, enter the name of the metadata folder and name the secured library object in the SAS Metadata Server. Specify metadata-bound library passwords with the PW= option.
    create securedfolder="Department XYZZY"    
        securedlibrary="ZYXWVUTEmps"  
        pw=secretpw;  
run;
quit;    
Results:The library and data sets are bound with the password secretpw. The binding is straightforward, as PROC AUTHLIB has unhindered access to the data.
 

Log Examples

Unprotected Data Sets
79   proc authlib lib=zyxwvut;
80
81    create securedfolder="Department XYZZY"
82           securedlibrary="ZYXWVUTEmps"
83           pw=XXXXXXXX;
84
85   run;

NOTE: Successfully created a secured library object for the physical library ZYXWVUT and recorded its
      location as:
           SecuredFolder:      /System/Secured Libraries/Department XYZZY
           SecuredLibrary:     ZYXWVUTEmps
           SecuredLibraryGUID: 1A323C03-A3D8-4A83-9615-2BC2CB9FAAE2
NOTE: Successfully added new secured table object "EMPINFO.DATA" to the secured library object at
      path "/System/Secured Libraries/Department XYZZY/ZYXWVUTEmps" for data set ZYXWVUT.EMPINFO.DATA.
NOTE: The passwords on ZYXWVUT.EMPINFO.DATA were successfully modified.
NOTE: Successfully added new secured table object "EMPLOYEES.DATA" to the secured library object at
      path "/System/Secured Libraries/Department XYZZY/ZYXWVUTEmps" for data set
      ZYXWVUT.EMPLOYEES.DATA.
NOTE: The passwords on ZYXWVUT.EMPLOYEES.DATA were successfully modified.
NOTE: Successfully added new secured table object "PRODUCT.DATA" to the secured library object at
      path "/System/Secured Libraries/Department XYZZY/ZYXWVUTEmps" for data set ZYXWVUT.PRODUCT.DATA.
NOTE: The passwords on ZYXWVUT.PRODUCT.DATA were successfully modified.
86   quit;