WMI - "Where am I?"

Syntax:

wmi [option]*

Options:

-Verbose
displays only your working catalog.
+Verbose
displays the system name, your name, memory-size, subsystem, channel#, level of control, and working catalog.

Description:

WMI tells you where you are in the TSS program stack and what command you are executing. As a side effect, WMI also reports your userid and the terminal's channel number. WMI shows the command name, along with an indication of the memory size if any; WMI also tells at what level in TSS you are executing, regardless of whether you are in a subsystem or at build input level (indicated as BLD). Finally, WMI displays your working catalog if it differs from your userid. Below we show an example of the default output of WMI.

*fred
Fred
!wmi
rjb@watbun(3370) is in fred(17k) at level 2 in program stack
  at library/expl/b/lib/open
!

The WMI output indicates that the user is "rjb" working on system watbun on channel 3370. "rjb" is executing in "fred" at 17K and is down in the program stack 2 levels, with "working catalog" set to "library/expl/b/lib/open". (You may go as high as level 6 in the stack, but you can only have three stacked programs executing.) "watbun" is the site-id of the host machine.

With -Verbose, WMI only displays only your working catalog, as in

!wmi -v
library/expl/b/lib/open
!

See Also:

expl setc

Copyright © 1996, Thinkage Ltd.