Dataloader/MP Reference Manual

Table Of Contents
Creating a Customized Version of DataLoader/MP
DataLoader/MP Reference Manual424148-003
5-11
STATISTICSTIME
STATISTICSTIME
The STATISTICSTIME exit is called just after DataLoader/MP puts out its periodic
statistics as a result of the -S parameter. It allows statistics unique to your user exits to
be displayed.
The syntax for this procedure follows:
TERMINATING
The TERMINATING exit is usually called when DataLoader/MP is terminating. If
Normal is nonzero, DataLoader/MP is terminating in a normal fashion. If it is a zero (0)
value, 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 for this procedure follows:
T0330U00_DEFAULTEXITS_C
T0330U00-DEFAULTEXITS-COBOL
This exit is present only in the native mode version of DataLoader/MP.
This exit is not an exit in the normal sense in 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/MP object file.
When run, DataLoader/MP uses the EXITSDESCRIPTION user exit to print a
description of the user exits. However, there are times when you 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/MP object file. If you customize it, do not change
the first nine characters of the procedure name.
If you use COBOL to write your user exits, the name of this procedure is T0330U00-
DEFAULTEXITS-COBOL.
The syntax for this procedure follows:
void STATISTICSTIME( long long* InRecCount )
void TERMINATING( short* Normal )
void T0330U00_DEFAULTEXITS_C( void )