Chapter Contents |
Previous |
Next |
SAS/CONNECT User's Guide |
PROC ADMIN
DOMAINID|DOMAIN|ID='domainid';
|
The ADMIN procedure is an interactive procedure; that is, its statements are executed as they are encountered. The ADMIN procedure executes until it is terminated by a QUIT statement or another PROC statement.
Statement Details |
PROC ADMIN DOMAINID|DOMAIN|ID='domainid'; |
where domainid specifies the DOMAIN connection identification.
Statement Arguments |
DISPLAY QUEUE|Q (queue_name) COLLECTION|C (collection_name);
To display information in user context (that is, display information about the queues that a particular user currently has open), you must specify a resource type of USER along with the user's name as follows:
DISPLAY USER|U user_name;
In this context, user_name is not really an optional parameter because it is required when displaying information in user context mode.
To display information about an agent, you can specify an agent name and/or collection if
DISPLAY AGENT|A (agent_name) COLLECTION|C (collection_name);
To display information in user context (that is, display information about the queues that a particular user currently has open), you must specify a resource-type of USER along with the name of the user as follows:
DISPLAY AGENT|A (agent_name) USER|U user_name;or
DISPLAY AGENT|A (agent_name) COLLECTION|C (collection_name) USER|U user_name;
The user_name parameter is optional when displaying agent information.
DEFINE QUEUE|Q (queue_name) COLLECTION|C (collection_name) MSGPSIST (yes|no) MSGDLVMODE (notice|default) MAXDEPTH (x) MAXMSGL (y) PRIVILEGES (userid1=permission1 ... useridx=permissionx);where
-1
represents unlimited depth. This is the default.-1
represents unlimited message
length. This is the default.
This maximum length must account for additional messages. Attachment lengths are not taken into consideration; only the length of the actual message should be included.
To specify a combination of the above permission types, use a plus sign (+) or a comma (,) to separate the values. For example, to grant a user DELIVER and BROWSE privileges, specify the following:
DELIVER,BROWSE or D+B
Specifying userid and permission privilege pairs signifies that this queue is to maintain an access control list that designates the operations that specific users can perform on the queue. These privileges are enforced only when the DOMAIN server is executing in a secured environment.
In the DISPLAY and DELETE commands, a wildcard queue name, collection name, and/or user name can be specified to display or delete multiple resources. Only one wildcard designator per name is allowed, and its symbol is an asterisk (*). This wildcard can be a prefix (*name) or a suffix (name*), or the full name itself may be a wildcard (*).
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.