bstr_activity_set_nodes(3) — Subroutines
Name
bstr_activity_set_nodes − Sets the nodes attribute of the Activity to the list of Nodes indicated by nodes (VODB only).
Syntax
bstr_t_status bstr_activity_set_nodes
(bstr_t_reference ∗activity,
bstr_t_descriptor ∗nodes,
bstr_t_rcb ∗control);
Description
The bstr_activity_set_nodes procedure replaces the current list of Nodes on which Application Management Services can execute the Activity with the list referenced by nodes.
Arguments
activity
access: read
The name of the Activity object whose list of Nodes you wish to replace.
nodes
access: read
A descriptor that indicates the array elements which represent the list of Nodes that you wish to become the new Node list for the Activity. Each array element is a value of the bstr_t_reference datatype, which indicates an object of the BSTR_C_NODE class.
control
access: read
The address of the optional request control block.
Return Values
| BSTR_S_NORMAL | Normal successful completion |
| BSTR_S_NO_SUCH_ATTRIBUTE | No such attribute |
See Also
| bstr_activity_add_nodes | # |
| bstr_activity_remove_nodes | # |