.Q Command

Lists the status of TCL Stacker options. Several TCL Stacker commands set options to determine how the TCL Stacker functions work. The .Q (query) command lists the current status of these options.

Format

.Q [(A | process)

Parameter(s)

A

Lists the status of the TCL Stacker options for all users. You must have SYS2 privileges to use this option.

process

Lists the status of the TCL Stacker options for the specified process. You must have SYS2 privileges to use this option.

This command generates a summary of how the TCL Stacker is being used. The report generated by the .Q command looks like this.

>.Q (A)

USER#

STACK

#CMNDS

PAGE

.O

.P

.U

TCL

DELIM

0

20

20

5

ON

ON

ON

([)

X'FB'

2

20

20

6

ON

ON

OFF

([)

X'FB'

4

20

20

10

OFF

OFF

ON

(,)

X'2C

 

 

 

 

 

 

 

 

 

>

 

 

 

 

 

 

 

 

The report has the format:

USER#

Line number of the user’s terminal.

STACK

Maximum length of the stack, as set by the .S command (20 is the default).

#CMNDS

Number of commands stored in the stack.

PAGE

Number of stack commands displayed, as set by the .L command.

.O

Indicates whether the TCL Stacker is enabled or disabled.

.P

Indicates whether Proc command storage is enabled or disabled.

.U

Indicates whether uppercase conversion is enabled or disabled.

TCL DELIM

Shows in parentheses the character used for the TCL delimiter as set by the .Z command, followed by its equivalent hexadecimal value.

Displaying the Status of TCL Stacker Options for a Single User

This example displays the status of the TCL Stacker options for the current process:

>.Q

 

 

 

 

 

 

 

 

USER#

STACK

#CMNDS

PAGE

.O

.P

.U

TCL

DELIM

4

20

15

2

ON

ON

OFF

([)

X'FB'

 

 

 

 

 

 

 

 

 

>

 

 

 

 

 

 

 

 

The .Q command displays the setting for the TCL delimiter in the TCL column, and its equivalent hexadecimal value in the DELIM column.

Displaying the Status of the TCL Stacker Options for All Users

This example displays the status of the TCL Stacker options for all processes:

>.Q (A)

USER#

STACK

#CMNDS

PAGE

.O

.P

.U

TCL

DELIM

0

20

20

5

ON

ON

ON

([)

X'FB'

4

20

20

6

ON

ON

OFF

([)

X'FB'

4

20

20

10

OFF

OFF

ON

(,)

X'2C

 

 

 

 

 

 

 

 

 

>

 

 

 

 

 

 

 

 

See Also

TCL Stacker Command Reference