SAS Safety Scalable Performance Data Server 4.5 Manual Do Utilizador

Página de 271
        password='spds123'
        aclspecial=YES
        prompt=YES;
PROC SPDO library=spds44;
  SET acluser admin;
  REFRESH PARMS;
  REFRESH DOMAINS;
quit;
Here is a more detailed example:
     /* Domain reftest is a pre-existing domain.  */
     /* Add domain reftest2 to libnames.parm and  */
     /* specify owner=admin                       */
        LIBNAME=tmp pathname=c:\temp;
        LIBNAME=formats pathname=c:\data\formats;
        LIBNAME=reftest pathname=c:\data\reftest
          owner=admin;
        LIBNAME=reftest2 pathname=c:\data\reftest2
          owner=admin;
     /* Run refresh job using admin with ACLSPECIAL */
     /* The SPD Server user must have ACLSPECIAL    */
     /* privileges to refresh domains.              */
        LIBNAME reftest sasspds 'reftest'
          server=d8488.5180
          user='admin'
          password='spds123'
          aclspecial=YES;
        PROC SPDO library=reftest;
          SET acluser admin;
          REFRESH DOMAINS;
        quit;
     /* Domains that have an owner= option such as  */
     /* reftest2 (owner=admin) must be reconnected  */
     /* to the domain again.                        */
        LIBNAME reftest2 sasspds 'reftest2'
          server=d8488.5180
          user='admin'
          password='spds123';
Commands to Nonexistent Users
In SPD Server, you can submit operator commands to a user after selecting the user with
the SET USER or SET USER/RECORD command. However, user sessions are finite. The
user that you select with SET USER or SET USER/RECORD might be unavailable when
216
Chapter 16 • SPD Server Operator Interface Procedure (PROC SPDO)