Referencing Other Processes

All TCL Stacker commands with a few exceptions can be used to reference a stack belonging to another process, providing the user has SYS2 privileges. Thus, you can retrieve statements from another user’s stack, modify them, and execute them. The syntax for this option is to place the process number in parentheses.

For instance, the following TCL Stacker command lists the top five statements in the stack of process 2:

>.L5 (2)

There are several commands that do not accept this option: the .A, .M, and .E commands modify the top statement in the stack only; the .K command does not allow you to delete statements from the stack of another process; and .R reads an item into your stack only.

In addition, the .Q, .S, and .Z commands accept the parameter (A) that specifies that the command affects all processes.

See Also

Using the TCL Stacker

Listing the Stack (.L)

Executing Previous Statements (.X)

Modifying Previous Statements

Editing the Stack (.E)

Choosing a Command to Modify

Replacing Text in the Stack (.M)

Appending Text (.A)

Storing a Series of Statements (.C)

Retrieving an Item (.R)

Deleting Statements from the Stack (.K)

Setting TCL Stacker Options (.O, .P, .U)