T-DUMP


The T-DUMP command dumps selected file records to the tape device.

 

SYNTAX

T-DUMP file-specifier {record-list} {selection-criteria} {sort-criteria} {USING file-specifier} {HEADING "label-text"} {(options}

 

SYNTAX ELEMENTS

label-text specifies up to 44 characters of text for the tape label. If you do not use HEADING with label-text, the file-name will be written to the label.

Option Description
I Display or suppress record ids as they are dumped
P Directs output to the spooler

Refer to the jQL documentation for explanation of the remaining syntax elements.

 

NOTES

T-DUMP can only be used on the default channel.

T-DUMP will fail if the media has not been made write enabled.

The records will not be sorted unless you specify a sort criteria clause.

Records ids are displayed or suppressed depending upon the emulation mode.

T-DUMP will write an end of filemark, (EOF), on the media after dumping all selected records.

 

EXAMPLE

T-DUMP SALES WITH S.CODE = "DEF"

Dumps all records with attribute, defined by S.CODE, equal to string "DEF" from file SALES.


Tape