DataLoader/MX Reference Manual (G06.24+)
Specifying File-Related Options for DataLoader/MX
DataLoader/MX Reference Manual—525872-002
4-13
WAIT
open of a DataLoader/MX process, to maintain performance, the records that flow
between them should be blocked. For this scenario to occur, the DataLoader/MX
process must appear to the COBOL library as a tape drive (device type 4). Enter the
job stream as:
$ run -name=/G/db10 dataload -E=err0 -i="\$RECEIVE\
(TYPE=4,SUBTYPE=10)" &
$ run cobprog -E=err1 -O=\$dbl0
By using these values, $dbl0 appears to the COBOL program to be a 5188 tape drive
(type=4, subtype=10).
For interprocess communication, DataLoader/MX is limited by the NonStop Kernel to
32,000-byte block I/O. You must make sure that the COBOL program keeps the size of
the block within that number. This modifier is usually used in conjunction with the
subtype modifier, but you can use either modifier alone. The subtype modifier defaults
to a value of 0 (zero). See the list of device types and subtypes in the Guardian
Procedure Calls Reference Manual.
WAIT
When DataLoader/MX attempts to open a file and gets a restartable error, such as file
busy or nonexistent process, it waits one second and tries the open again.
DataLoader/MX does this 60 times before reporting an error. Use this modifier to allow
the default value of 60 to be overridden to make DataLoader/MX wait for num seconds
for the input file.
It has the format:
WAIT=num
The first time DataLoader/MX waits, it writes a message stating what it is waiting for. If
you use the WAIT modifier to specify a long time to wait, DataLoader/MX repeats the
message every five minutes.