DataLoader/MX Reference Manual (G06.24+)
Running DataLoader/MX
DataLoader/MX Reference Manual—525872-002
3-12
Default Exit Examples
Default Exit Examples
The default DataLoader/MX user exits perform neutral actions when called. These
syntax examples show how to run DataLoader/MX with its default exits:
Parallelism
A powerful mechanism for loading or maintaining large amounts of data in a timely
fashion is parallelism. DataLoader/MX has been designed to allow the creation of
parallel loading and maintenance scenarios, taking full advantage of the parallel
capabilities of the underlying system.
There are two primary considerations in a parallel load or maintenance scenario:
•
Creating parallelism
Command Result
$ dataload -q
Directs DataLoader/MX to not write
informational messages to the home
terminal.
$ dataload -e=ERROR
Directs DataLoader/MX to write error
messages to a file named ERROR.
$ dataload -E=ERROR
Directs DataLoader/MX to write error
messages to a file named ERROR.
Parameters are not case-sensitive.
$ dataload -e = error
Produces a syntax error because blanks
are embedded in the -e parameter.
$ dataload -e=error -t=100
Directs DataLoader/MX to write error
messages to a file named error and
sets the number of records per TMF
transaction to 100.
$ dataload -t="100<restartfile=\
\$vol.subvol.xyz>"
Directs DataLoader/MX to set the
number of records per TMF transaction
to 100 and to create a restart file named
“$vol.subvol.xyz”.
$ dataload -t=100 -t=200
Produces an error because the TMF
parameter is given twice.
$ dataload -I="batch1\
(RECFORM=FB<RECSIZE=10>)" \
-C=1000 -F=100
Directs DataLoader/MX to skip the first
100 records, and then process 1000
records.
$ dataload -I="batch1\
(RECFORM=FB<RECSIZE=10>)" \
-C=1000 -F=100 -O="batch2\
(RECFORM=FB<RECSIZE=10>)"
Directs DataLoader/MX to skip the first
100 records, and then process 1000
records, and send the output to batch2.
Note. DataLoader/MX uses the Guardian IPC mechanism to communicate with other
processes. For more information about Guardian IPC, see the Guardian Programmer’s Guide.