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
Executing Previous Statements (.X)
Replacing Text in the Stack (.M)
Storing a Series of Statements (.C)