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

DataLoader/MP Examples
DataLoader/MP Reference Manual—424148-003
6-2
Single Source Parallel Loading
3. The SQLCI load process for keyrange 1 reads a block of records from its
DataLoader/MP process then does a PARTONLY load of the partition with
keyrange 1.
4. At the same time, the second DataLoader/MP process for keyrange 2 reads a
block of records, does any necessary data conversions, and waits for a read from
its $RECEIVE file.
5. The SQLCI load process for keyrange 2 reads a block of records from its
DataLoader/MP process then does a PARTONLY load of the partition with
keyrange 2.
Figure 6-1 illustrates this process.
The following commands and their descriptions describe one way to accomplish the
scenario in Figure 6-1.
The following command executes a version of the DataLoader/MP process called
“db10” (created with the MAKE routine). In db10, the default user exit BUILDKEY has
been replaced by one that, given an input record, returns its key. This result is
necessary because the DataLoader/MP process uses this key to determine which
downstream DataLoader/MP process receives the record. The default BUILDKEY
Figure 6-1. Single Source Parallel Loading
Note. PRI and CPU parameters have been omitted from the example. The initial
DataLoader/MP process should run at high priority, and the downstream DataLoader/MP
process and SQLCI pairs should run in the CPU where the primary disk process for the
corresponding partition is running.
VST010
SQLCI Load
Key Range 1
SQLCI Load
Key Range 2
SQLCI Load
Key RangeN
Data Source
Part 1
Part 2
Part 3
Initial
DataLoader/
MP Process
DataLoader/MP
Key Range1
DataLoader/MP
Key Range2
DataLoader/MP
Key RangeN