Dataloader/MP Reference Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction to DataLoader/MP
- 2 DataLoader/MP Components
- 3 Running DataLoader/MP
- 4 Specifying File-Related Options for DataLoader/MP
- 5 Creating a Customized Version of DataLoader/MP
- User Exits
- User Exit Descriptions
- BUILDKEY
- CHECKARG
- CONVERTIT
- DELETEIT
- DONEWITHTRANSACTION
- EXITSDESCRIPTION
- GETNEXTRECORD
- INITIALIZE1
- INITIALIZE2
- INSERTIT
- INSTRUCTIONS
- MISC1, MISC2, MISC3, and MISC4
- NEWTRANSACTION
- NEXTINDIRECTFILE
- SKIPPING
- STATISTICSTIME
- TERMINATING
- T0330U00_DEFAULTEXITS_C
- T0330U00-DEFAULTEXITS-COBOL
- T7900D41_DEFAULTEXITS_C
- T7900V00-DEFAULTEXITS-COBOL
- UPDATEIT
- Default User Exits
- DataLoader/MP Library
- The MAKE Routine for NM DataLoader/MP
- The MAKE Routine for Nonnative Mode DataLoader/MP
- 6 DataLoader/MP Examples
- 7 Recovery Strategies
- A Error and Warning Messages
- B Processing Flowcharts
- C C-Only Error Functions
- Index

Creating a Customized Version of DataLoader/MP
DataLoader/MP Reference Manual—424148-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 )