IBM Books

Administration Guide

Invoking a User Exit Program

When the user exit program is invoked, the database manager passes control to the executable file, [db2uext2].
Note:Backup and restore operations call [db2usrxt.cmd] first which in turn calls [db2uext2].

The database manager passes parameters to this program, and on completion the program passes a return code back to the database manager. Because the database manager can only handle a limited set of return conditions, the user exit program should handle error conditions.

Only one user exit program can be invoked within a database manager instance. Therefore, each program must have sections for all of the actions it may need to perform, including: archive, retrieve, backup (OS/2 only) and restore (OS/2 only). One of the parameters passed to the user exit program indicates which of these actions is requested.

[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]