DISKFILE (Disk Output File)

The DISKFILE command routes the output of subsequent DUMPANALYZER commands to the disk output file you specify.

For information on related commands, refer to the following commands in this section:

  • RELEASE

  • REPEAT

  • SHOW

Syntax

── DISKFILE ─┬─────────────────────┬───────────────────────────────────┤
             ├─ ? ─────────────────┤
             └─<quoted file title>─┘

Explanation

The following text describes the meaning of each construct. Refer to “File Title” earlier in this section for an explanation of the rules for specifying a file title.

DISKFILE

Switches the output mode from remote or printer to the disk file, provided that you previously specified a disk output file. If you did not previously specify an output file, DUMPANALYZER displays an error message.

DISKFILE ?

Returns the name of the current disk output file.

DISKFILE <quoted file title>

Causes DUMPANALYZER to use the specified file title as the disk output file and to route the subsequent output to it. If you already specified a disk output file, DUMPANALYZER displays the following message:

ERROR:  DISK OUTPUT FILE ALREADY EXISTS - <file title>
USE 'RELEASE DISKFILE' COMMAND TO RELEASE THE CURRENT DISK FILE.

See the RELEASE command for information on releasing and saving a disk output file.

Example

The following example shows the way you can switch the output of DUMPANALYZER commands between the terminal and a disk file.

DISKFILE "DUMP/ASDN"     %Assigns DUMP/ASDN as the disk output file.
ASDN 1234                %Output goes to the DUMP/ASDN file.
REMOTE                   %Switches output to remote.
ASDN 1234                %Output goes to the terminal.
DISKFILE                 %Switches output to the DUMP/ASDN file.
ASDN 1234 EXPAND         %Output goes to the DUMP/ASDN file.
RELEASE                  %Releases and saves DUMP/ASDN.