The TERMINAL command enables you to control the following features of terminal output when you are viewing DUMPANALYZER output:
-
Whether the terminal output is sent a page at a time or a line at a time
-
The number of characters per line
-
The number of lines per page
-
Whether the pages are transmitted continuously or with page breaks
-
Whether the output is right-justified
-
Whether characters at the end of a line are truncated or printed on the next line
-
Whether the output appears in uppercase and lowercase characters or only in uppercase characters
The default values for the TERMINAL command are as follows:
-
FULLPAGE ON (for screen devices); FULLPAGE OFF (for nonscreen devices)
-
WAIT
-
PAGE 22
-
LINE 80
-
TRUNCATE OFF
-
RIGHTJUSTIFY OFF
-
UPPERCASE OFF
You can use the TERMINAL command at any DUMPANALYZER prompt.
Syntax
┌◄───────────────────────────────┐ ── TERMINAL ─┴─┬────────────────────────────┬─┴────────────────────────┤ ├─/1\─ FULLPAGE ─┬───────────┤ │ └─ OFF ─────┤ ├─/1\─┬─ CONTINUOUS ─────────┤ │ └─ WAIT ───────────────┤ ├─/1\─ PAGE ──<number>───────┤ ├─/1\─ LINE ──<number>───────┤ ├─/1\─ TRUNCATE ─┬───────────┤ │ └─ OFF ─────┤ ├─/1\─ UPPERCASE ─┬──────────┤ │ └─ OFF ────┤ └─/1\─ RIGHTJUSTIFY ─┬───────┤ └─ OFF ─┘
Explanation
The following text describes the meaning of each construct. Refer to “Basic Constructs” earlier in this section for information about the <number> construct.
TERMINAL
Displays the current values for all the TERMINAL options.
TERMINAL FULLPAGE
TERMINAL FULLPAGE OFF
Causes output to be sent a page (or line) at a time.
TERMINAL CONTINUOUS
Causes terminal output to be sent without pauses between pages.
TERMINAL WAIT
Causes terminal output to wait for your input between pages. You can enter the following responses:
-
A blank to continue the output.
-
A positive number (N or +N) to display only the next N lines instead of the next page.
-
A new command. Output is discontinued for the previous command.
TERMINAL PAGE <number>
Sets the number of lines per page.
TERMINAL LINE <number>
Sets the number of characters per line.
TERMINAL RIGHTJUSTIFY
TERMINAL RIGHTJUSTIFY OFF
When the RIGHTJUSTIFY option is enabled, right-justifies the excess characters on the following line when a line of output is longer than the terminal width. This option is valid only when TRUNCATE is disabled.
TERMINAL TRUNCATE
TERMINAL TRUNCATE OFF
When the TRUNCATE option is enabled, causes output that does not fit on a line to be right-justified on the following line. The RIGHTJUSTIFY option must be enabled when the TRUNCATE option is enabled.
When the TRUNCATE option is disabled, output that does not fit on a line is truncated.
TERMINAL UPPERCASE
TERMINAL UPPERCASE OFF
When the UPPERCASE option is enabled, converts output from lowercase characters to uppercase characters.
Example
DUMPANALYZER displays the current terminal settings in response to each TERMINAL command, as shown in the following example:
INPUT: TERM RJ FULLPAGE ON, WAIT, PAGE = 23, RJ ON, TRUNCATE OFF, UP OFF, LINE = 80