Chapter Contents |
Previous |
Next |
_getAgentProperties |
Syntax | |
Syntax Description | |
Example 1 | |
Example 2 | |
Example 3 | |
Example 4 |
Syntax |
CALL SEND(agentInst, '_getAgentProperties ', agentList, rList, rc); |
Where... | Is type... | And represents... |
---|---|---|
agentList | L | list of agents |
rList | L | resulting properties list |
rc | N | return code |
Note: In addition, the named item USER_NAME can optionally be specified to further
subset the request by only returning those agents that are owned by the specified
user name. The wildcard character can also be used for the user name specification.
In addition, each list may contain one or more of the following named items, depending on how the agent was defined. Only defined properties are returned. For example, if the agent is defined without a description, the named item DESCRIPTOR will not exist.
Example 1 |
The following example retrieves properties for all agents in all collections.
rc = setnitemc(alist, '*', 'AGENT_NAME'); rc = setnitemc(alist, '*', 'COLLECTION_NAME'); call send(agent, '_getAgentProperties', alist, rlist, rc);
Example 2 |
The following example retrieves properties for all agents named EMPLOYEE in all collections that end in TEXAS.
rc = setnitemc(alist, 'Employee', 'AGENT_NAME'); rc = setnitemc(alist, '*texas', 'COLLECTION_NAME'); call send(agent, '_getAgentProperties', alist, rlist, rc);
Example 3 |
The following example retrieves properties for all agents that start with PROD that are in the CARY collection.
rc = setnitemc(alist, 'Prod*', 'AGENT_NAME'); rc = setnitemc(alist, 'Cary', 'COLLECTION_NAME'); call send(agent, '_getAgentProperties', alist, rlist, rc);
Example 4 |
The following example retrieves properties for all agents that are owned by the user USER3.
rc = setnitemc(alist, '*', 'AGENT_NAME'); rc = setnitemc(alist, '*', 'COLLECTION_NAME'); rc = setnitemc(alist, 'USER3', 'USER_NAME'); call send(agent, '_getAgentProperties', alist, rlist, rc);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.