DataLoader/MX Reference Manual (G06.24+)
Creating a Customized Version of DataLoader/MX
DataLoader/MX Reference Manual—525872-002
5-11
STATISTICSTIME
STATISTICSTIME
The STATISTICSTIME exit is called just after DataLoader/MX puts out its periodic
statistics as a result of the -S parameter. Use it to display statistics unique to your user
exits.
The syntax is:
TERMINATING
The TERMINATING exit is usually called when DataLoader/MX is terminating. If
Normal is nonzero, DataLoader/MX is terminating in a normal fashion. If it is 0 (zero), it
is terminating in an abnormal fashion as a result of a call to DTLFatalErr. If your user
exits have been doing record counting, hash totals, or other such tasks, the
TERMINATING exit is where to complete that processing and to write out the results.
The syntax is:
TERMINATING2
The TERMINATING2 exit is called when DataLoader/MX is terminating. The
TERMINATING exit is called before the files opened by DataLoader/MX are closed,
while the TERMINATING2 exit is called after all opened files are closed. This approach
allows tasks to be performed that require fully complete loading. The input argument to
this exit is currently unused and is always nonzero.
The syntax is:
T0351G10_DEFAULTEXITS_C and T0351G10-DEFAULTEXITS-
COBOL
This exit is not an exit in the sense that it is never called, and, if by mistake it is called,
it does nothing. Its purpose is to assist in determining what user exits are bound into a
given DataLoader/MX object file.
When run, DataLoader/MX uses the EXITSDESCRIPTION user exit to print a
description of the user exits. However, you might need to know the version of the user
exits without running the program. If you change the _DEFAULTEXITS_C in the name
of this procedure to match the text returned by your EXITSDESCRIPTION user exit,
VPROC can be used to see which version of your user exits are in a particular
DataLoader/MX object file. If you customize it, do not change the first nine characters
of the procedure name.
void STATISTICSTIME( long long* InRecCount )
void TERMINATING( short* Normal )
void TERMINATING2( short* Normal )