MPE/iX Commands Reference Manual (32650-90877)

138 Chapter4
Command List II
Commands CALC thru COPY
!JOB USER.TECHPUBS
!COMMENT THIS IS A SAMPLE JOB
!FORTGO MYPROG
!EOJ
Related Information
Commands JOB, UDCs, command files
Manuals None
CONSOLE
Changes the system console from its current device to another job-accepting terminal.
Syntax
CONSOLE[
ldev
]
Parameters
ldev
The logical device number of the new console terminal. If omitted, the
CONSOLE command displays the current logical device number of the
console.
Operation Notes
The CONSOLE command is used to display the logical device number of the terminal
currently being used as the system console, or to move the console to another logical
device. Listing the current location of the console requires no special capabilities. Moving
the console requires system manager (SM) capability.
The console cannot be moved to a terminal using a multipoint terminal software (MTS)
line, or a packet assembly and disassembly (PAD) terminal over a modem.
When you switch the location of the console with the CONSOLE command, a message is
printed on the former console and on the new console displaying the new logical device
number of the system console. The old console is now just another session device and all
the console capabilities are transferred to the newly designated terminal.
When you enter the CONSOLE command without parameters, it reports the current logical
device number (LDEV) of the console. You may also find out the LDEV of the current
console by interrogating the HPCONSOLE variable. To do so, enter the command SHOWVAR
HPCONSOLE at the colon prompt. Note, however, that Control and maintenance processor
(CMP) and diagnostic control unit (DCU) prompts and messages remain with the
configured terminal, for example, Channel 1, Device 0. This feature cannot be moved to
another terminal.
NOTE
Before transferring the system console to another terminal, be sure that you
can take the console back when you need it by allowing yourself the =CONSOLE
command. (ALLOW
user.account;commands
=CONSOLE). Users assigned
system manager (SM) capability can retrieve the console without having been
allowed the use of the CONSOLE command.