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-14
DataLoader/MP Library
DataLoader/MP Library
DataLoader/MP includes a library of utility routines designed to make writing user exits
simpler. With the exception of the User Messages routines, the procedures are
designed to be callable from any language.
There are utility routines for eight types of tasks:
•
Converting data from one format to another
•
Requesting sequential I/O operations
•
Communicating with the user through C
•
Communicating with the user through COBOL
•
SQL error checking and statistics maintenance, after executing an embedded SQL
INSERT, UPDATE, or DELETE statement in a user exit
•
Generating test data
•
Sorting
•
Miscellaneous utility functions
This subsection describes the utility routines provided with DataLoader/MP, gives their
syntax, and provides examples for their use.
Data Conversion
These procedures provide data conversion capability. In addition to these routines, the
NonStop Kernel provides the MBCS_EXTERNAL_TO_TANDEM procedure for
conversion of multibyte character data such as Kanji. For more information, see the
Guardian Procedure Calls Reference Manual.
DTLEBCDICToASCII
The DTLEBCDICToASCII routine translates an EBCDIC character string to ASCII.
NEXTINDIRECTFILE Does nothing.
SKIPPING Does nothing.
STATISTICSTIME Does nothing.
TERMINATING Does nothing. Returns a value indicating that it executed
correctly.
UPDATEIT Terminates with a message that it has been called
unexpectedly.
Table 5-3. Default User Exits (page2of2)
User Exit Description of Default Behavior