FDP - dump a file in various formats.

Syntax:

fdp [options]* filename [Llink=sllink[,#llinks]]
+Ascii     -Columns  +Bcd      +Ebcdic   +Floating
+Hex       +Machine  +Octal    +Integer  +5chars
-HeaDings  +Verbose  +Wide     lineWidth=number

Examples:

fdp /_sysfiles/mail.box
fdp +a a.file llink=0,3
fdp +a +o +i fbaggins/rand +w

Options

+Ascii
dumps in ASCII.
+Bcd
dumps in BCD.
+Ebcdic
dumps in EBCDIC.
+Floating
dumps as floating point numbers.
+Hex
dumps bytes in Hexadecimal. Since there are 9 bits per byte, and this is not an even number of hex digits, FDP uses a ".", to indicate that the high order bit of the byte is on.
+Machine
gives machine op-codes.
+Octal
dumps in octal.
+Integer
dumps as signed decimal integers.
+5chars
dumps five 7-bit characters per word. If the high order (bit 36) is on, FDP displays a ".".
Llink=sllink,#llinks
dumps starting from "sllink" for "#llinks" llinks. If only "sllink" is given, "#llinks" defaults to 1. If you do not specify this option, FDP dumps the entire file.
-HeaDings
does not display a heading.
+Verbose
displays duplicate entries. Normally, FDP uses a short form to represent parts of the file where the contents are all the same.
+Wide
formats the output for a 132 character line, rather than the default of 80.
lineWidth=number
sets the maximum output line width to "number" columns.
-Columns
prevents the output from being placed into columns.

Description:

FDP produces a dump of a file in one or more formats. The default action is to dump the entire file in octal and ASCII, skipping duplicate lines. This format can be altered through the use of the options.

The addresses of the words within a block are always given in octal on the left side of the report. The fields are printed in the order specified on the command line.

Using FDP in batch

FDP can be used in batch with JCL similar to the following:

$      program fdp
$      limits  ,25k
$      prmfl   **,r/c,r,cmdlib/etc/qstar
$      data    cz
fdp <options>
If the output is not redirected on the command line, it will be written to file code P*.

Notes:

FDP uses an index origin of 0 for all indexing of llinks.

Copyright © 2000, Thinkage Ltd.