Dataloader/MP Reference Manual

Table Of Contents
Specifying File-Related Options for DataLoader/MP
DataLoader/MP Reference Manual424148-003
4-10
NOUNLOAD
NOUNLOAD
The NOUNLOAD modifier is allowed only for tape files. It specifies that the tape is to
be rewound to the load point and left online when DataLoader/MP closes it.
If DataLoader/MP terminates abnormally, it ignores the NOUNLOAD modifier.
This modifier is available only in NM DataLoader/MP.
num%
The % modifier specifies the percent of records that are to be processed. num can be
from 0.000 to 100.000, inclusive. For input, only this percentage of the input records
are returned to the application, and the remaining ones are transparently skipped. For
output, only this percentage of the records the application writes are put into the file,
and the remaining ones are transparently discarded. For example,
dataload -i=dtldata.nbr1000(10%) -o=outfile
returns 10 percent of the records in dtldata.nbr1000. The rest are skipped. In this
example,
dataload -i=dtldata.nbr1000(10%,max=20) -o=outfile
DataLoader/MP returns 10 percent of the records in dtldta.nbr1000, to a maximum of
20 records.
To prevent any possible synchronization with patterns in the input file, DataLoader/MP
determines whether each record is to be processed by using the built-in random
number generator (DTLRandUnsignedLong). For this reason, the number of records
actually processed might not be exactly the requested percentage, and the difference
can be significant when the number of records is small.
This modifier is useful for extracting a random subset of a large amount of data so as
to build a smaller table for testing.
NUMBUFS
NUMBUFS specifies the number of I/O buffers to be allocated for the file. It has the
following format:
NUMBUFS=num
num may range from two to ten.
NUMBUFS is permitted for process files. NUMBUFS is not permitted for standard input
or standard output in any case.
This modifier is available only in NM DataLoader/MP.