Next: Loading All Files of a Directory
Previous: Files with Special Record Formats
Up: Loading a File
Parameters for Large Files
Especially when dealing with very large files, it may be beneficial to
load only a part of the file instead of all of it.
LOAD can take three parameters for this purpose:
counts how many records the file contains, but does not load it at all.
At the same time, it is calculated how large in bytes the
workfile would have to be. This number is larger than the file
size on data medium, because exaEdit needs several bytes of
control information for each workfile. The calculated number is,
on the other hand, smaller than the number of bytes exaEdit with
the file loaded would need in the computer's main memory.
COUNT generates this message:
Records counted: ..., size of workfile: ...
The size is measured in B, KB, MB or
GB. The message also shows which unit is used.
If you also use the parameter MULTIPLE, the parameter COUNT must
appear prior to MULTIPLE, unless you use MULTIPLE with the
sub-parameter /string/.
If you want to load the first n records of a file only, you can use the
parameter
For skipping the first n records of file, you can use the parameter
Of course you can use these two parameters together, also in
conjunction with COUNT. It is not possible, however, to use IGNORE
and RECORDS together with MULTIPLE.
To get the help text for LOAD that deals with COUNT, IGNORE and
RECORDS, you can use
Next: Loading All Files of a Directory
Previous: Files with Special Record Formats
Up: Loading a File