There are 2 other files named dumpr.doc in the archive. Click here to see a list.
DUMPR -- UTILITY FILE DUMPER %5 Page 1
DUMPR is a utility program to dump arbitrary files in a
human-readable format. Input to DUMPR is a file on any supported
device: disk, magnetic tape, DECtape. Output is in ascii mode to the
specified output device.
General command format:
Allowable switches are:
Backspaces magtapes f files and r records. /BACKSP:R
backspaces r records or blocks on a directory device or
Set the record size (characters/record) to n for EBCDIC dumps.
Set the input buffer size to n words. The default buffer size
is 1024(10) words for magtape and disk files read with /FORTRAN
Sets the magtape density to one of: 200, 556, 800, or 1600
bpi. (Defaults are: 7 track-800 bpi, 9 track-1600 bpi.)
Dumps f files and r records from magtape or r blocks or records
from a directory device or magtape. /DUMP is an input-only
The input file is in FORTRAN binary mode. This is created by
using FORTRAN binary write statements. This will not dump
FORTRAN random binary files.
Specify the action to take when an input error occurs:
Continue processing after reporting the error.
Do not report the error.
Report the error and ask for an option from the user.
Legal responses are:
1. C - continue
DUMPR -- UTILITY FILE DUMPER %5 Page 2
2. H - Give some help.
3. I - make /ERROR:QUERY into /ERROR:IGNORE.
4. Q - quit dumping and return to command mode.
5. S - Skip this record and proceed.
Give some help.
Enable for command type-in while the dump is running.
Allowable commands are:
1. I - Ignore all further typein (disable /IFTYP).
2. K - Kill the dump. Output files are closed and DUMPR
prompts for another command.
3. P - Pause. Processing will continue when any character is
typed on the teletype.
Read the magnetic tape in industry-compatible mode. This
consists of four (4) eight-bit bytes packed in the high order
32 bits of a DEC-10 word. The low order 4 bits are zero. When
this mode is used, the dump will dump the high order 32 bits of
data as if it was a 32-bit word.
Dump the file in IREAD mode. On magtape, IREAD mode implies
each logical record is a physical record. On disk, the first
word is a word count, followed by that many words. This switch
depends on FT$PHX being on at assembly time (default).
Print line numbers (word counts) in radix specified by ARG.
Allowable values for ARG are:
Base 10. (default) Line numbers will start at one.
Base 16. Line numbers will start at zero.
Base 8. Line numbers will start at zero.
DUMPR -- UTILITY FILE DUMPER %5 Page 3
Output the dump in the format specified by ARG. This switch
may appear on the output side only. Legal values for ARG are:
Dump the file in ASCII mode. If /INDUSTRY is used, the
file is dumped in eight-bit ASCII mode.
dump the file as bytes of size n (1 le n le 36).
Dump the file in ebcdic format. (use only with /INDUSTRY)
Dump the file as floating point numbers. The file is
dumped as DEC10 floating point numbers unless /INDUSTRY is
used, in which case the numbers are dumped as IBM 360/370
floating point numbers.
Dump the file in halfword format. This consists of 18-bit
bytes in normal mode, and 16-bit bytes in Industry mode.
Dump the file in hexadecimal (base 16).
Dump the file as integers (base 10).
Dump the file in octal (default).
Dump the file in sixbit mode. (unusable with /INDUSTRY)
Dump the file in PDP-10 instruction format.
Specify the number of buffers to use for magtape input
Set no read retries on errors (magtape only).
Omit the line numbers.
Only dump from words l to h of each record. to dump words 1 to
n use /ONLY:N. This switch is input-only.
DUMPR -- UTILITY FILE DUMPER %5 Page 4
Sets the parity for magtape to EVEN or ODD.
Use of this switch allows you to do magtape positioning only in
a DUMPR command. For instance, the command:
would rewind MTA3: and then skip 3 files and 20 records. This
switch may only be used with magtape, and the only legal
positioning switches are /BACKSP, /REWIND, and /SKIP.
Output dump in radix n. (Effective only if no /MODE switch
specified) Legal values for N are 2-16.
Rewinds the magtape before dumping.
On disk file dumps without /IREAD or /FORTRAN, position the
file to dump the rib (retrieval information block). Illegal on
MTA and DTA.
Skip forward f files and r records on side that switch appears
on. /SKIP:R skips r records or blocks on a directory device.
Print only one line per record (or block) with a final summary
at the end.
Places the string in quotes at the top of the dump.
List only the totals for each file; do not output any record
Set the width of the dump to N. Default is 132. for all
devices except the terminal (default=80.). If the dump is to
the terminal and no /WIDTH is specified, DUMPR will attempt to
read the terminal width setting from the monitor and use that,
or will use the default if unable to read it.
DUMPR -- UTILITY FILE DUMPER %5 Page 5
1. The default input specification is DSK:DUMPIT.DAT. The default
output specification is LPT:DUMPED.LPT.
2. If /NORETRY is specified and there are input errors, the record
is dumped and processing continues.
3. If /NORETRY is not specified and input errors are encountered,
the error is reported, the record is dumped, and processing
4. If /OMIT is specified, there is no formatting done for ASCII or
5. Some switches are executed in the order they are seen in the
input command string: /BACKSP, /DUMP,/rewind, and /SKIP.
6. /MODE sets the mode for the next /DUMP switch. /ONLY sets the
limits for the next /DUMP switch. To turn off /ONLY once it
has been set in a dump, use /ONLY with no arguments.
7. It is possible to do multiple dumps with one command:
This command will dump the first five words of records
(blocks) 1-6, skip the next 4 records (blocks), and completely
dump the next 10 records (blocks).
8. If no /DUMP switch is specified the whole input file (or whole
magtape) is dumped.
9. DUMPR will scan SWITCH.INI for applicable switches. Allowable
switches are: /BUFSIZ, /ERROR, /IFTYP, /LINRDX, /MTBUF, and
/WIDTH. See DOC:COPYMT.DOC for a complete description of
10. If the feature test switch FT$WLD is set non-zero at assembly
time (default), the input file specification may contain
wild-carding. The limit of one specification is still
enforced. If the dump is to a spooled device (LPT) there will
be a separate output file for each input file processed.
Switches given will be applied to each file which matches the
DUMPR -- UTILITY FILE DUMPER %5 Page 6
DUMPR issues three classes of messages. These are error, warning,
and informative messages. Following is a list of the messages and a
short description of each.
ERROR MESSAGES (usually fatal):
1. ?DMPBRB /BYTE REQUIRES BYTESIZE
The /MODE:BYTE switch requires a byte size. Retype the command
2. ?DMPBSO CANT BACKSPACE DISK OUTPUT
You have tried to position the disk output file with a /BACKSP
3. ?DMPCDM CANT DUMP MULTIPLE FILES ON DIRECTORY DEVICE
You have specifed /DUMP:F:R with a disk input file. You may
only specify /DUMP:R on a disk device.
4. ?DMPCGH CAN'T GET HIGH SEGMENT, CODE = N
This message is not expected to occur. If it does, see the
5. ?DMPCOD CAN'T OPEN DEVICE, FILE DEV:FILE.EXT
DUMPR was unable to open the specified device.
6. ?DMPCRD CANNOT REWIND DISK OUTPUT
You have specified /REWIND on the output side and the output
device is a disk.
7. ?DMPCUS CANT USE SAME MAGTAPE FOR INPUT AND OUTPUT - MTAX
You have tried to use the same magtape for input and output.
This does not work.
8. ?DMPEIW EBCDIC ILLEGAL WITHOUT /INDUSTRY
You have specified /MODE:EBCDIC without /INDUSTRY. This is
9. ?DMPEBE EOF BEFORE END OF IREAD RECORD
This means that either the file was not in IREAD format, or the
IREAD format for the file is incorrect.
10. ?DMPIAR ILLEGAL ARGUMENT FOR /RADIX - N
THE RANGE OF ARGUMENTS FOR /RADIX IS 2-16.
11. ?DMPIBS ILLEGAL BYTE SIZE - N
The legal range of byte sizes is 2-36. Any number out of this
range is illegal.
12. ?DMPID7 ILLEGAL DENSITY FOR 7-TRACK
You have specified /DENSITY:1600 or /DENSITY:6250 on a 7-track
tape unit. The only legal 7-track densities are 200, 556, and
DUMPR -- UTILITY FILE DUMPER %5 Page 7
13. ?DMPID9 ILLEGAL DENSITY FOR 9-TRACK
You have specified an illegal density for 9-track tapes (200,
or 556 bpi).
14. ?DMPIDV ILLEGAL DEVICE DEV
You have specified either an unknown device or a device that
DUMPR was not designed to handle.
15. DMPIOE I/O ERROR - STATUS=N (XXX), FILE DEV:FILE.EXT
An I/O error has occurred on the device.
16. ?DMPIFF INCORRECTLY FORMATTED FORTRAN FILE
The input file is not really in FORTRAN binary mode.
17. ?DMPIFU IREAD FILE MESSED UP
DUMPR has encountered an IREAD word count which was non-zero in
the left half (disk only). This usually means the file was
improperly written, or it is not an IREAD file.
18. ?DMPISO INPUT SWITCH ILLEGAL ON OUTPUT - SWITCHNAME
You have specified an input-only switch on the output side of
19. ?DMPLER LOOKUP/ENTER ERROR(N) FILE DEV:FILE.EXT[P,PN]
The specified lookup/enter error has occurred. See the monitor
calls manual for a description of the error codes.
20. ?DMPMIS MULTIPLE INPUT SPECIFICATIONS ILLEGAL
DUMPR only handles one input file specification.
21. ?DMPMOF MULTIPLE OUTPUT FILES ILLEGAL
You may only specify one output file.
22. ?DMPMSE MODE SPECIFICATION ERROR - /IREAD + /FORTRAN
An input file may not be in IREAD and FORTRAN form at the same
23. ?DMPODF OUTPUT DEVICE FULL
You have exceeded your disk quota, or the output DECTAPE or
magtape is full.
24. ?DMPOIS /ONLY INCORRECTLY SPECIFIED
Either one or the other arguments was negative, or the second
argument was greater than the first argument.
25. ?DMPOSI OUTPUT SWITCH ILLEGAL ON INPUT - SWITCHNAME
The named switch is an output-only switch and was found on the
26. ?DMPRIB /RIB ILLEGAL ON OUTPUT OR ILLEGAL DEVICE FOR /RIB
/RIB is legal only on disk input files.
27. ?DMPSFI SKIP/BACKSPACE FILES ILLEGAL ON DIRECTORY DEVICE
Need I say more?
DUMPR -- UTILITY FILE DUMPER %5 Page 8
28. ?DMPSFM CANNOT BACKSPACE MTA WITH /FORTRA
Since this is so rarely done, it was not coded. See the
maintainer if this is a problem.
29. ?DMPSWE SWITCH ERROR - /SUMMARY + /TOTALS
You may not specify /SUMMARY and /TOTALS in the same command.
30. ?DMPSWI SIXBIT WITH /INDUSTRY ILLEGAL
This makes no sense.
31. ?DMPWFI WILDCARD FILESPEC ILLEGAL, FILE DEV:FILE.EXT
DUMPR does not support wild-carding. (however, DUMPR does
support input wild-carding. see command notes)
WARNING MESSAGES (PROCESSING CONTINUES):
1. %DMPIND /INDUSTRY NO-OP ON NON-MTA DEVICE
You have specified /INDUSTRY on a device that is not a magtape.
The switch is ignored.
2. %DMPRTL RECORD TOO LARGE - N - FILE F RECORD R
DUMPR has encountered a record of size n in file f, record r.
This message will only occur on disk files read with /IREAD or
/FORTRA. The problem may be alleviated by using a larger
3. %DMPTUF TAPOP. UUO FAILURE--CODE = N
A tapop. monitor call has failed. This is not expected to
occur. See the maintainer.
1. [DMPPTC PAUSING--TYPE ANY CHARACTER TO CONTINUE]
DUMPR is pausing in response to a "p" typed in while running
and /IFTYP specified in the command. Any character typed will
2. [DMPIPT INITIAL POSITION OF TAPE IS FILE N RECORD M]
This message will only appear at the top of dumps done from
magnetic tapes. DUMPR is showing you the position of the tape
as it was obtained from the Monitor.