Top  Previous  Next


The DUMP command displays the content of record(s) from a file in hexadecimal and character format.





DUMP {DICT} filename {record ... | *} {options}




filenameis the name of the file to be processed. The DICT keyword indicates that the dictionary portion of filename is to be used.


recordis the name of the record to be displayed. Multiple record names may be given in a single command. If the default select list (list 0) is active, this list is used as the source of record names. . If the default select list (list 0) is active, this list is used as the source of record names. Specifying a record name of an asterisk (*) displays all records in the file. If no record name is given and the default select list is active, this list will be used to determine which records are reported.


optionsare chosen from the following:
LPTR nRedirects the output to printer n. If n is omitted, the default printer is used.
NO.QUERYWhen using a select list, the confirmation prompt is omitted.



The DUMP command displays the specified records from file. Each record is preceded by the file and record names.


The record is treated as binary data in which field marks are simply part of the data. It is shown in both hexadecimal and character format, 16 bytes per line. Non-printing characters are displayed as dots (.) except for the field mark, value mark and subvalue mark which as shown as ^, ] and \. Each line is prefixed by the byte offset (from zero) of the first byte on the line.


When using the default select list as the source of record ids to be processed, a confirmation prompt is issued prior to commencing the display. This can be suppressed using the NO.QUERY option.


The DUMP command is equivalent to use of CT with the BINARY option.







00000000: 43 61 72 74 77 72 69 67 68 74 2C 20 44 FE 37 20 | Cartwright, D^7

00000010: 53 70 72 69 6E 67 20 47 72 6F 76 65 FD 4E 6F 74 | Spring Grove]Not

00000020: 74 69 6E 67 68 61 6D FE 31 2D 31 FD 33 2D 31    | tingham^1-1]3-1


The above command dumps the record with id 2 from the READERS file.



See also: CT