HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3  Command Definitions C-E

CONSOLE

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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.

Since the system console is a session device, a session must be logged on to the console in order to execute operator commands.

Use

This command may be issued from a session, job, program, or in BREAK. Pressing Break has no effect on this command. It may be used by any user to determine the location of the console. To change the location of the console, this command must be issued from the console itself, unless distributed to users with the ALLOW command, or the user must have system manager (SM) capability.

Examples

To determine the current location of the system console, enter:

 CONSOLE
CONSOLE IS CURRENTLY ASSIGNED TO LDEV 20

To transfer the console to the terminal identified by MPE/iX as logical device 31, enter:

 CONSOLE 31
CONSOLE HAS BEEN SWITCHED FROM LDEV 20 TO LDEV 31
Feedback to webmaster