AUTHLIB Procedure

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

Features:
CREATE Statement and Options:
SECUREDLIBRARY=
SECUREDFOLDER=
PW=

Details

Here is an example of binding a physical library that contains data sets that do not have passwords. Library ZYXWVUT contains three data sets — EMPLOYEES, EMPINFO, and PRODUCT — that do not have passwords. The library and data sets are bound with the password secretpw. The binding is straightforward, as PROC AUTHLIB has unhindered access to the data.

Program

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

Log

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;

NOTE: PROCEDURE AUTHLIB used (Total process time):
      real time           0.68 seconds
      cpu time            0.03 seconds