Interactive MODE Command

The MODE command lists the current record in a specific mode or format. You can also use the MODE command to alter the mode (print option) or format in which the remaining records are to be listed.

Syntax

──┬────────┬─┬─────────────────────────────────┬───────────────────────┤
  └─ MODE ─┘ │ ┌◄────────────────────────────┐ │
             └─┴─┬─ ASCII ─────────────────┬─┴─┘
                 ├─ EBCDIC ────────────────┤
                 ├─ HEXADECIMAL ───────────┤
                 ├─ OCTAL ─────────────────┤
                 ├─ REAL ──────────────────┤
                 ├─ DECIMAL ───────────────┤
                 └─/1\─<format definition>─┘

Explanation

MODE

Lists the current record in the default mode.

MODE ASCII

MODE EBCDIC

MODE HEXADECIMAL

MODE OCTAL

MODE REAL

MODE DECIMAL

List all subsequent records with the new print option or format until another MODE command is entered. If you omit the prefix MODE, DUMPALL lists only the current record in the new mode, and formatting reverts to the old mode when DUMPALL reaches the next record. The various print options are explained under “Print Options” in “Input to the DUMPALL Utility” earlier in this section.

<format definition>

Describes one or more fields within a record and their formats or print options. DUMPALL lists only the fields defined in the format definition. Refer to “Format Definition” later in this section for more information about <format definition>.