Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)
Chapter 10 209
Technical Articles
CI Enhancements
With this enhancement, the PRINT command syntax is
PRINT [ [FILE=] filename]
[[;OUT=]outfile]
[[;START=] m]
[[;END=] n]
[[;PAGE=] p]
[;UNN | NUM ]
[;NONUM]
• With this new option, to print the line numbers as in the case of
UNNUMbered files (that is, line numbers starting from 1 for the
first record and so on), use this command:
:PRINT infile;NUM;NONUM
• To consider the file as UNNUMbered file even when the file is a
NUMbered file and then print the contents as it is in the file, use this
command:
:PRINT infile;UNN;NONUM
:PRINT infile;NONUM
Examples
In this example, UFILEYES is an unnumbered file with trailing 8
characters as digits.
:PRINT UFILEYES
aaaaaaaaaaaa
bbbbbbbbbbbb
cccccccccccc
dddddddddddd
eeeeeeeeeeee
ffffffffffff
gggggggggggg
hhhhhhhhhhhh
iiiiiiiiiiii
jjjjjjjjjjjj
kkkkkkkkkkkk
llllllllllll
NOTE The above file was considered by PRINT to be a numbered file and thus
the trailing 8 bytes are truncated.
:PRINT UFILEYES;NONUM
aaaaaaaaaaaa00010001
bbbbbbbbbbbb00010002
cccccccccccc00010003
dddddddddddd00010004
eeeeeeeeeeee00020001
ffffffffffff00020002
gggggggggggg00020003
hhhhhhhhhhhh00020004
iiiiiiiiiiii00030001
jjjjjjjjjjjj00030002
kkkkkkkkkkkk00030003
llllllllllll00030004
In the above example, NONUM option displays all the data in the file.