Previous Topic: CPF related MODIFY commandsNext Topic: Using DEFNODES With a TSS Command


CA Top Secret Command Keywords Used With CPF

The TSS command functions that can be used with CPF are authorization commands such as ADDTO, PERMIT, REMOVE, and CREATE as well as, WHOHAS, LIST, and WHOOWNS.

The CPF keywords that can be used with these functions are:

TARGET(node1,node2...)

Identifies each node to which a command can be propagated.

TARGET(*)

Transmits the command to the local node and to all nodes defined in the CPFNODES control option.

TARGET(=)

Restricts command execution to the local node only. The TARGET(=) keyword overrides the CPFTARGET(LOCAL) control option.

TARGET(n...n*)

Transmits all commands to nodes whose names begin with the indicated string. The string can range from one to seven characters.

TARGET(SELECT)

Propagates commands to all DEFNODES for a user, including nodes marked as no‑broadcast nodes.

DEFNODES(node1,node2,...)

Defines default remote nodes for use in the event that a security administrator does not specify a TARGET keyword on a command. DEFNODES only applies if the CPFTARGET control option has been set to AUTO.

WAIT(Yes|No)

Sets the processing mode for the command being issued. WAIT(YES) selects synchronous processing. WAIT(NO) selects asynchronous processing. The WAIT keyword overrides the CPFWAIT control option setting.

The example below displays the users on CPU1, CPU2, and the local node that have access to payroll data.

TSS WHOHAS  DSNAME(PAYROLL.)  TARGET(CPU1,CPU2,=)  WAIT(Y)

The next example grants ownership of the SYS1 data set prefix to DEPT01 on all remote R‑prefixed nodes identified by the CPFNODES control option.

TSS ADDTO(DEPT01)  DSNAME(SYS1.)  TARGET(R*)  WAIT(Y)

The final example designates the ALT, BOS, and CIN nodes as the default routing nodes for USER01.

TSS ADDTO(USER01)  DEFNODES(ALT, BOS, CIN)