STACK-ON/STACK-OFF Command

The STACK-ON command turns on the TCL Stacker for the specified process.

Format

STACK-ON [process]

STACK-OFF [process]

Parameter(s)

process

Process number. If no process number is specified, the TCL Stacker is enabled or disabled for the current process.

Description

Using the STACK-ON command allows the process to save and manipulate recently entered statements. By default, the TCL Stacker is turned on for all processes, unless the NX option was specified during system start-up. The STACK-OFF command turns off the TCL Stacker for the process you specify.

When the TCL Stacker is disabled, the system does not recognize stack commands entered at that process’s terminal. Disabling the TCL Stacker is a useful way to prevent a user from modifying and re-executing commands, or from seeing the file names accessed by a Proc or program.

If a process logs off and then logs on again, the TCL Stacker is automatically enabled or disabled, according to the default set for your system.

Disabling the TCL Stacker

This example disables the TCL Stacker for process 2:

>STACK-OFF 2

The next example turns the TCL Stacker back on for process 2:

>STACK-ON 2