wheres Command

The wheres BASIC program performs a variety of functions depending on the options or parameters provided, and displays a more readable form of the where command, including the user-ID, the account name, and the last command entered.

NOTE

In this command, options do not have to be enclosed in parentheses.

Syntax

wheres {options}

Synonym(s)

whos

whoall

whereall

Parameter(s)

?

Displays help on the command.

"account.name

Displays status only for users of the specified account name. The quotation marks around the account name are required.

[user-ID

Displays status of requested user-ID only.

NOTE—The [ is required, but ] is not allowed.

{port.number{-port.number}}

Outputs status for the given port, or a range of ports.

options

c

Displays port communications parameters (baud rate, parity, and so on).

l

Displays the status for pushed levels, if any.

n

No pause option suppresses the pause at the end of the page on the terminal.

p

Directs output to the system printer via the spooler.

z

Displays where status for all ports, including inactive ports (those which are not currently logged on).

This command combines the effect of these TCL commands: who, sort pibs, listabs, term, listptr, where, sp-status, set-port and xonoff. A number of variants of this command are available and all begin with who or where.

Special parameters provided are:

br

Displays ports which are in running a BASIC program.

bt

Displays ports which are accessing B-tree indexes.

db

Displays ports which are in the system debugger.

in

Displays ports which are accessing indexes.

lk

Displays ports which have locks in place.

op

Displays ports which are in the Output Processor.

ov

Displays ports which are accessing the overflow handler.

pu

Displays ports which are pushed one or more levels.

sp

Displays ports which are accessing the spooler.

tp

Displays the port with the tape attached.

See Also

listabs Command

listptr Command

Port Number

set-port Command

sp-status Command

term Command

where Command

wherebt Macro

whered Macro

whereindx Macro

wherelk Macro

whereovf Macro

wherepu Macro

wheresp Macro

wheret Macro

who Command

whobt Macro

whod Macro

whoindx Macro

wholk Macro

whopu Macro

whosp Macro

whot Macro

whovf Macro

xonoff Command