DataLoader/MX Reference Manual (G06.24+)

Creating a Customized Version of DataLoader/MX
DataLoader/MX Reference Manual525872-002
5-2
User Exits
You call the exits that require the -X parameter by specifying a code associated with
each one in the string following the -X parameter. The syntax for this command is:
-X={code}
where code is one or more of the exit codes listed in Table 5-2.
Table 5-1. Exits and Their Parameters
Exit Parameter Specified
BUILDKEY -P parameter, or if you have a KEYRANGE file
interpretation
CHECKARG A parameter that is not a DataLoader/MX parameter
CONVERTIT -X parameter
DELETEIT -X parameter
DONEWITHTRANSACTION -T parameter
GETNEXTRECORD -G parameter
INSERTIT -X parameter
INSTRUCTIONS -H or any unrecognized parameter
MISC1 -X parameter
MISC2 -X parameter
MISC3 -X parameter
MISC4 -X parameter
NEWTRANSACTION -T parameter
NEXTINDIRECTFILE When you use INDIRECT interpretation on any file
SKIPPING -F parameter or the -T parameter with a restart file
specified and the file exits (a TMF restart)
STATISTICSTIME -S parameter
UPDATEIT -X parameter
Table 5-2. Parameter -X Exit Codes (page1of2)
Code
User Exit
Called
Action If Successful
(Return Positive
Number)
Action If Not
Successful (Return
Negative Number)
Done
Processing
(Return 0)
1 MISC1 Continue with next
exit.
Dump record to -E
file. Read next record.
Read next record.
2 MISC2 Continue with next
exit.
Dump record to -E
file. Read next record.
Read next record.
3 MISC3 Continue with next
exit.
Dump record to -E
file. Read next record.
Read next record.
4 MISC4 Continue with next
exit.
Dump record to -E
file. Read next record.
Read next record.