Dataloader/MP Reference Manual

Table Of Contents
Creating a Customized Version of DataLoader/MP
DataLoader/MP Reference Manual424148-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