Previous | Next | Contents | Index |
Dump (decode) a binary file.
DUMP FILE file-spec
Command Qualifiers Defaults /DECIMAL /HEXADECIMAL /HEXADECIMAL /HEXADECIMAL /OCTAL /HEXADECIMAL
file-spec
The file to dump.
Dump the bytes of a file.
/DECIMAL
/HEXADECIMAL (default)
/OCTAL
By default, DUMP FILE's output is displayed in hexadecimal. The /OCTAL qualifier may be used to cause the output to be displayed in octal; the /DECIMAL qualifier may be used to cause the output to be displayed as base 10 (decimal) integer values.
This example shows dumping the bytes of a sample WordPerfect document.
$ PMDF TEST/X400 X400> DUMP FILE SAMPLE.WPC 00000000 01000a01 000000d7 435057ff .WPC............ 0000 00000010 00060000 00000032 0005fffb ....2........... 0010 00110000 00520000 005a000c 00000042 B.....Z...R..... 0020 00d50000 00020008 000000ac 00000029 )............... 0030 00000000 00020000 0078007c 23080000 ...#|.x......... 0040 00000000 00005350 33524553 414c0000 ..LASER3PS...... 0050 00000000 00000000 00000000 00000000 ................ 0060 2e303252 50555449 44000000 00000000 .......DITUPR20. 0070 00000a8c 170c1e14 007801db 00535250 PRS...x......... 0080 01680168 00010001 cf8700c9 40110400 ...@........h.h. 0090 ffffffff 40025852 bc1b12f0 01680168 h.h.....RX.@.... 00a0 3a524944 31355254 50245052 4f435057 WPCORP$PTR51DIR: 00b0 5352445f 31355254 505f5052 4f435057 WPCORP_PTR51_DRS 00c0 61207369 20736968 54000000 5352442e .DRS...This is a 00d0 66726550 64726f57 20656c70 6d617320 sample WordPerf 00e0 746e656d 75636f64 20312e35 20746365 ect 5.1 document 00f0 0258003f 00890600 000c01d4 0a0a0a2e ............?.X. 0100 746e6573 20736968 54c30cc3 d401000c .......This sent 0110 c42e6465 646c6f62 20736920 65636e65 ence is bolded.. 0120 746e6573 20736968 54c30ec3 0a0ac40c .......This sent 0130 6e696c72 65646e75 20736920 65636e65 ence is underlin 0140 00890600 000c01d4 0a0ac40e c42e6465 ed.............. 0150 20736968 54c308c3 d401000c 0578003f ?.x........This 0160 6c617469 20736920 65636e65 746e6573 sentence is ital 0170 0a0ac408 c42e6465 7a696369 icized...... 0180
Previous | Next | Contents | Index |