Dataloader/MP Reference Manual

Table Of Contents
Specifying File-Related Options for DataLoader/MP
DataLoader/MP Reference Manual424148-003
4-9
Modifiers
Modifiers
Modifiers are features that change the way the DataLoader/MP file system handles the
contents of the file, but not in such a fundamental way as interpretations do. Unlike
interpretations, any number of modifiers can be used for a specific file.
BUFSIZE
BUFSIZE specifies the size of the I/O buffers to be allocated for the file. It has the
following format:
BUFSIZE=num
BUFSIZE is permitted for unstructured disc files (except edit files). BUFSIZE is not
permitted for standard input or standard output in any case.
This modifier is available only in NM DataLoader/MP.
MAX
MAX specifies the maximum number of records to be processed. This modifier has the
following format:
MAX=num
For input, after num records have been read, an end of file is simulated. For output,
after num records have been written, an error 45 (file is full) is simulated.
When used with the % modifier, the MAX modifier is applied to the records that meet
the % selection criteria.
The MAX modifier is useful in conjunction with the INDIRECT modifier when dividing a
single large input file into a number of smaller files of a given size.
NOREWIND
The NOREWIND modifier is allowed only for tape files. It specifies that the tape is to be
left extended when DataLoader/MP closes it. For an input file, the tape remains at the
point where the last read left it. For an output file, when the close is done,
DataLoader/MP first writes two tape marks, then repositions the tape between them.
The next program that writes to the tape will create a new file on the tape. If you want
the next program that writes to the tape to extend the file DataLoader/MP was writing,
you must use FUP or some other means to move the tape backwards across the first
tape mark.
If DataLoader/MP terminates abnormally, it ignores the NOREWIND modifier.
This modifier is available only in NM DataLoader/MP.