DataLoader/MX Reference Manual (G06.24+)

Specifying File-Related Options for DataLoader/MX
DataLoader/MX Reference Manual525872-002
4-11
NUMBUFS
NUMBUFS
Use NUMBUFS to specify the number of I/O buffers to be allocated for a file. It has the
format:
NUMBUFS=num
num can range from two to ten.
Use NUMBUFS for process files.
PERSIST
If $RECEIVE is your input or output file, you can use the PERSIST option. With this
option specified, DataLoader/MX does not terminate when the number of openers falls
to 0 (zero) but waits for additional opens. The syntax is:
$ run -name=/G/<process name> dataload -i="\$RECEIVE(persist)" &
or
$ run -name=/G/<process name> dataload -o="\$RECEIVE(persist)" &
If you use $RECEIVE as both input and output for the same DataLoader/MX process,
specifying PERSIST on either $RECEIVE makes it effective for both.
To make this DataLoader/MX terminate, send it an open with the modifier #CMD.STOP
or #CMD.ABORT by entering:
$ dataload -I="\$X.#cmd.stop"
or
$ dataload -I="\$X.#cmd.abort"
Opening #CMD.STOP causes DataLoader/MX to shut down the next time the number
of openers falls to 0 (zero). Opening #CMD.ABORT causes DataLoader/MX to stop
immediately. In this case, it might discard data that it has received but not yet
processed.
RECFORM
Use RECFORM to specify the method in which records are kept in blocks. Use this
modifier for unstructured disk files, tape files, process files, and $RECEIVE. All other
file types either have their own internal method of keeping records in blocks (text and
structured disk files) or else the concept of blocking does not apply.
It has the format:
RECFORM=<form>
<form> can be one of the following: