Dataloader/MP Reference Manual

Table Of Contents
DataLoader/MP Examples
DataLoader/MP Reference Manual424148-003
6-5
Single Source Parallel Maintenance
The following commands and their descriptions describe one way to accomplish the
scenario in Figure 6-2.
The following command executes the initial DataLoader/MP process. It is an
unmodified version of DataLoader/MP that uses the default user exits.
1>DATALOAD /NOWAIT, NAME $dbl0/ -E=err0 -I=infile -O=$RECEIVE &
-S=100000
The preceding command uses these parameters:
-E directs the process to write any execution time errors to file err0.
-I directs the process to read its input from infile.
-O indicates the process should write the output (blocks of the unmodified input
records) to $RECEIVE. The DataLoader/MP process put them in a buffer pool and
waits for a read from another process.
-S asks for a status display every 100,000 records.
Command lines 2 through 5 start the downstream DataLoader/MP processes, which
are customized versions with user exits CONVERTIT (to do the conversion), INSERTIT
(to attempt to insert the converted record), and UPDATEIT (to attempt to update the
row corresponding to the converted record). Each of these command lines give the
downstream DataLoader/MP processes their own file (err1, err2, ...) in which to record
execution time errors through the -E parameter.
Figure 6-2. Single Source Parallel Maintenance
Note. PRI and CPU parameters are omitted from the example. The initial DataLoader/MP
process should run at high priority, and the downstream DataLoader/MP processes should be
distributed across processors.
VST011
Data Source
Part 1
Part 2
Part 3
$db10
Initial
DataLoader/MP
DBL1
DataLoader/MP
1
DBL1
DataLoader/MP
2
DBL1
DataLoader/MP
N