AUTHLIB Procedure

Example 3: Securing a Library When Existing Data Sets Are Protected with the Same Passwords

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

Details

This example shows how you could have modified the passwords for the EMPLOYEES and EMPINFO data sets from the preceding example in the PROC AUTHLIB CREATE statement. The EMPLOYEES and EMPINFO data sets are protected with the same passwords. The Alter password for the data sets,ijkl, is specified in the PW= argument before the new password, separated by a slash (/).

Program

proc authlib lib=abcde;               
 create securedlibrary="ABCDEEmps"
    securedfolder="Department XYZZY" 
    pw=ijkl/secretpw; 
run;  
quit;

Log

Securing a Library with Data Sets That Are Protected with the Same Passwords

99   proc authlib lib=abcde;
100   create securedlibrary="ABCDEEmps"
101        securedfolder="Department XYZZY" pw=XXXX/XXXXXXXX;
102  run;

NOTE: Successfully created a secured library object for the physical library ABCDE and recorded its
      location as:
           SecuredFolder:      /System/Secured Libraries/Department XYZZY
           SecuredLibrary:     ABCDEEmps
           SecuredLibraryGUID: 87165DCD-3C60-4C7D-BD53-903AAC68CCC7
NOTE: Successfully added new secured table object "EMPINFO.DATA" to the secured library object at
      path "/System/Secured Libraries/Department XYZZY/ABCDEEmps" for data set ABCDE.EMPINFO.DATA.
NOTE: The passwords on ABCDE.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/ABCDEEmps" for data set ABCDE.EMPLOYEES.DATA.
NOTE: The passwords on ABCDE.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/ABCDEEmps" for data set ABCDE.PRODUCT.DATA.
NOTE: The passwords on ABCDE.PRODUCT.DATA were successfully modified.
103  quit;

NOTE: PROCEDURE AUTHLIB used (Total process time):
      real time           0.38 seconds
      cpu time            0.09 seconds