Dataloader/MP Reference Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction to DataLoader/MP
- 2 DataLoader/MP Components
- 3 Running DataLoader/MP
- 4 Specifying File-Related Options for DataLoader/MP
- 5 Creating a Customized Version of DataLoader/MP
- User Exits
- User Exit Descriptions
- BUILDKEY
- CHECKARG
- CONVERTIT
- DELETEIT
- DONEWITHTRANSACTION
- EXITSDESCRIPTION
- GETNEXTRECORD
- INITIALIZE1
- INITIALIZE2
- INSERTIT
- INSTRUCTIONS
- MISC1, MISC2, MISC3, and MISC4
- NEWTRANSACTION
- NEXTINDIRECTFILE
- SKIPPING
- STATISTICSTIME
- TERMINATING
- T0330U00_DEFAULTEXITS_C
- T0330U00-DEFAULTEXITS-COBOL
- T7900D41_DEFAULTEXITS_C
- T7900V00-DEFAULTEXITS-COBOL
- UPDATEIT
- Default User Exits
- DataLoader/MP Library
- The MAKE Routine for NM DataLoader/MP
- The MAKE Routine for Nonnative Mode DataLoader/MP
- 6 DataLoader/MP Examples
- 7 Recovery Strategies
- A Error and Warning Messages
- B Processing Flowcharts
- C C-Only Error Functions
- Index
Specifying File-Related Options for DataLoader/MP
DataLoader/MP Reference Manual—424148-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.