
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-58
Copy: Display Form Examples
If you specify more than one number base (OCTAL, DECIMAL, or HEX), each line is
displayed in the specified format and in ascending order of base values (O = 8,
D = 10, and H = 16).
Copy: Display Form Examples
To display the contents of a file (in both OCTAL and ASCII format) from the default
volume and subvolume (MYFILE):
-COPY MYFILE, , OCTAL
To open a file (MARYHAD), display six records starting with record 20 and display
the first 20 characters in each record in octal format:
mm
/
dd
/
yy
is the current date (displayed for the first record only).
hh
:
mm
is the current time (displayed for the first record only).
offset
is the offset from the beginning of the
word 0
record.
word 0
...
word n
is a block of
n
contiguous words of
filename
. If
out-record-length
is less than 100,
n
= 7. If
out-record-length
is in the range 100 through 120,
n
= 9;
otherwise,
n
= 11.
ASCII-format
is the ASCII representation of the line to the left. Nonprintable
characters are represented by a period (.).
If you specify only ASCII (or A), the display is in ASCII format, and
offset
is given in decimal representation.
-COPY MARYHAD, , FIRST 20, COUNT 6, RECIN 20, OCTAL
$BASE.FUPDOC.MARYHAD RECORD 20 KEY 2048 (%4000) LEN 20
0: 046541 071171 020150 060544 020141 020154 Mary had a l
%6: 064564 072154 062440 066141 ittle la
$BASE.FUPDOC.MARYHAD RECORD 21 KEY 2048 (%4000) LEN 15
0: 044564 020146 067554 066157 073545 062040 It followed
%6: 064145 071000 her
$BASE.FUPDOC.MARYHAD RECORD 22 KEY 2048 (%4000) LEN 17
0: 052157 020163 061550 067557 066040 067556 To school on
%6: 062440 062141 074400 e day
$BASE.FUPDOC.MARYHAD RECORD 23 KEY 2048 (%4000) LEN 17
0: 052157 020163 061550 067557 066040 067556 To school on
%6: 062440 062141 074400 e day
$BASE.FUPDOC.MARYHAD RECORD 24 KEY 2048 (%4000) LEN 15
0: 044564 020146 067554 066157 073545 062040 It followed
%6: 064145 071000 her
$BASE.FUPDOC.MARYHAD RECORD 25 KEY 2048 (%4000) LEN 17
0: 052157 020163 061550 067557 066040 067556 To school on
%6: 062440 062141 074400 e day