QUERY TERMINAL

Read syntax diagramSkip visual syntax diagram Query TERMinal

Authorization

Privilege Class: G

Purpose

Use QUERY TERMINAL to display the options active for your virtual console.

Usage Notes

  1. The SCRNSAVE function of the TERMINAL command is not supported by z/VM®. It is included with its default setting only for compatibility with VM/SP HPO.
  2. CP displays the TYPE, PROMPT, SCROLL, CNTL, and ASCIITBL messages only when you enter the command from a TTY device.

Responses

Response 1:

LINEND {char}, LINEDEL {char}, CHARDEL {char}, ESCAPE {char}, TABCHAR {char}
       {OFF }          {OFF }          {OFF }         {OFF }          {OFF }
 
LINESIZE {nnn}, ATTN {ON }, APL {ON }, TEXT {ON }, MODE {CP}, HILIGHT {ON }
         {OFF}       {OFF}      {OFF}       {OFF}       {VM}          {OFF}
 
CONMODE {3215}, BREAKIN {IMMED   }, BRKKEY {PA1  }, SCRNSAVE {OFF}
        {3270}          {GUESTCTL}         {PA2  }
        {NONE}                             {PFnn }
                                           {CLEAR}
                                           {NONE }
 
TYPE {3101}, PROMPT {VM }, SCROLL {nnn }, CNTL {SYS}, ASCIITBL {VM1}
     {TTY }         {TTY}         {CONT}       {USR}           {VM2}
 
AUTOCR {ON }, MORE nnn mmm, HOLD {ON }, TIMESTAMP  {CP}, SYS3270 {ON}
       {OFF}                     {OFF}             {ON}          {OFF} 
                                                   {OFF}
PRECEDENCE {SECUSER}
           {STARMSG} 
 
LINEND char
LINEND OFF
displays the logical line end symbol in effect for your virtual machine (char), or indicates that no logical line end symbol is allowed (OFF).
LINEDEL char
LINEDEL OFF
displays the logical line delete symbol in effect for your virtual machine (char), or indicates that no logical line delete symbol is allowed (OFF).
CHARDEL char
CHARDEL OFF
displays the logical character delete symbol in effect for your virtual machine (char), or indicates that no logical character delete symbol is allowed (OFF).
ESCAPE char
ESCAPE OFF
displays the logical escape character in effect for your virtual machine (char), or indicates that no logical escape character is allowed (OFF).
TABCHAR char
TABCHAR OFF
displays the tab character symbol in effect for your virtual machine (char), or indicates that no logical tab character is defined (OFF).
LINESIZE nnn
LINESIZE OFF
specifies the maximum allowable line length for terminal output that is in effect for your virtual machine. OFF specifies that the terminal output line length is not adjusted by CP.
ATTN ON
ATTN OFF
indicates whether the attention signal is to be reflected on keyboard or printer terminals. If ON, the printer reflects it as an exclamation point (!) followed by a carriage return.
APL ON
APL OFF
indicates whether CP is to use the APL terminal translation tables or the normal translation tables. If APL is ON, CP uses the APL translation tables.
TEXT ON
TEXT OFF
indicates whether CP is to use the TEXT terminal translation tables or the normal terminal translation tables. If TEXT is ON, CP uses the TEXT translation tables.
MODE CP
MODE OFF
indicates whether one or more attentions force your virtual machine into the CP environment, or whether one or more attentions are reflected to your virtual machine. If MODE is CP, one attention forces your virtual machine into the CP environment.
HILIGHT ON
HILIGHT OFF
ON means CP highlights the command redisplay line. OFF means CP displays the command redisplay line at normal intensity.
CONMODE 3215
CONMODE 3270
CONMODE NONE
indicates the console mode of your virtual console. 3215 indicates that CP provides 3215 CCW processing, and 3270 indicates that it provides 3270 CCW processing. NONE indicates that your virtual machine does not currently have a console defined.
BREAKIN IMMED
BREAKIN GUESTCTL
lets you control break-in by CP for full-screen guests. The GUESTCTL option specifies that, while in full-screen mode, messages from CP are displayed only when you press the BRKKEY key. If you specify GUESTCTL, CP break-in still occurs if you request a CP function or if a priority message is pending for your virtual machine. GUESTCTL is specified using TERMINAL BREAKIN. If you specify IMMED, which is the default, break-in by CP takes place on any full-screen READ and full-screen WRITE that has an inactive keyboard. Break-in also takes place when you press the BRKKEY.
BRKKEY PA1
BRKKEY PA2
BRKKEY PFnn
BRKKEY CLEAR
BRKKEY NONE
displays the key that controls break-in by CP for full-screen guests (to allow you to return to CP mode). NONE indicates that there is no BRKKEY defined or it is disabled.
SCRNSAVE OFF
is included with its default setting for reasons of compatibility.
TYPE 3101
TYPE TTY
3101 identifies the terminal as a display device, and 3101 functions are enabled. TTY identifies the terminal as a typewriter terminal, and 3101 functions are not in effect.
PROMPT VM
PROMPT TTY
VM indicates that VM enables the line feed prompting sequence. TTY indicates that VM enables the normal TTY prompting sequence of a period in column 1 and the cursor in column 2.
SCROLL nnn
SCROLL CONT
The operand nnn specifies the number of lines displayed before the status * * * * MORE * * * * is displayed. CONT specifies continuous scrolling without interruption.
CNTL SYS
CNTL USR
SYS specifies that CP inserts TTY line control characters for output directed to a TTY terminal. USR specifies that the application program inserts TTY line control characters for output directed to a TTY terminal.
ASCIITBL VM1
ASCIITBL VM2
VM1 specifies the use of the translation table based on the TTY ANSI X3.4 1977 standard. VM2 specifies the use of the translation table based on the TTY ANSI X3.26 1980 standard.
AUTOCR ON
AUTOCR OFF
ON specifies that a carriage return is performed following the execution of the 3215 CCW X'01' (write without carriage return to a graphic display operating in line mode). OFF specifies that a carriage return not be performed.
MORE nnn mmm
specifies the number of seconds that will elapse between system actions. nnn is the number of seconds between when the time when a MORE... is displayed and the terminal alarm sounds. mmm is the number of seconds between the time when the alarm sounds and the screen is cleared.
HOLD ON
HOLD OFF
ON means CP displays a status of HOLDING when the screen fills up and at least one highlighted message appears on the screen. OFF means CP does not display a status of HOLDING. You can still cause CP to display a HOLDING status by pressing the Enter key when CP has displayed a MORE... status.
TIMESTAMP CP
TIMESTAMP ON
TIMESTAMP OFF
CP means control program messages and command responses on the console are prefixed with the local time of day. OFF means messages are displayed with no prefix. ON causes all virtual machine and CP messages to be identified with time stamps.
SYS3270 ON
SYS3270 OFF
ON means the virtual console emulates an integrated 3270 device. OFF means the virtual console does not emulate an integrated 3270 device.
PRECEDENCE SECUSER
PRECEDENCE STARMSG
The PRECEDENCE setting determines the order of preference for delivering virtual console output that is eligible for routing both to a secondary user and through the primary user's connection to the *MSG or *MSGALL IUCV system service. SECUSER means that such output should be sent to a secondary user. STARMSG means that such output should be sent through IUCV. See TERMINAL PRECEDENCE for details.

Messages

  • HCP263E Too many operands were supplied for this command.