FCOPY Reference Manual (32212-90008)

80 Chapter5
FCOPY Functions
HEX
The example displays the file TEXT3 in both hexadecimal and character format. Since it
does not specify a language for the CHAR function, FCOPY uses the default, NATIVE-3000.
(Refer to the CHAR description in this chapter.) FCOPY prints the title line described by the
title parameter.
>FROM=TEXT3;TO=*LP;HEX;CHAR; &
TITLE="EXAMPLE OF CHAR/HEX DISPLAY"
EXAMPLE OF CHAR/HEX DISPLAY
TEXT3.PUB.ACCOUNT RECORD 0 (%0)
0000: 5448 4953 2049 5320 4C49 4E45 2031 2E20 THIS IS LINE 1.
0008: 2054 4845 2038 2D44 4947 4954 204E 554D THE 8-DIGIT NUM
0010: 4245 5253 2041 5420 5448 4520 5249 4748 BERS AT THE RIGH
0018: 5420 4152 4520 5448 4520 2020 2020 2020 T ARE THE
0020: 2020 2020 2020 2020 3030 3030 3130 3030 00001000