Dataloader/MP Reference Manual

Table Of Contents
Specifying File-Related Options for DataLoader/MP
DataLoader/MP Reference Manual424148-003
4-13
WAIT
DataLoader/MP process must appear to the COBOL library as a tape drive (device
type 4). Enter the job stream as:
1 >DATALOAD /nowait,name $dbl0/ -E=err0 -I=$RECEIVE
(TYPE=4, & SUBTYPE=10)
2 >cobprog /nowait/ -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/MP is limited by the NonStop Kernel to
32,000-byte block I/O. You must make sure that COBOL program keeps the size of the
block within that number. This modifier is usually used in conjunction with the subtype
modifier, but either modifier can be used alone. The subtype modifier defaults to a
value of 0. A list of device types and subtypes can be found in the Guardian Procedure
Calls Reference Manual.
WAIT
When DataLoader/MP 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/MP does this 60 times before reporting an error. This modifier allows the
default value of 60 to be overridden, which makes DataLoader/MP wait for num
seconds for the input file.
This modifier has the following format:
WAIT=num
The first time DataLoader/MP 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/MP repeats the
message every five minutes.