USEREXIT

The USEREXIT option specifies a user-defined exit that will be given control to manage an event.

Syntax

Read syntax diagramSkip visual syntax diagram
                                  (1)           (2)   
>>-USEREXIT--+-Yes-+--module_name------DLL_name----------------->
             '-No--'                                  

            (3)   
>--function----------------------------------------------------><

Notes:
  1. module_name is available only on AIX, HP-UX, Linux, Solaris, and z/OS.
  2. DLL_name is available only on Windows.
  3. function is available only on Windows.

Parameters

Yes
Specifies that event logging to the user exit receiver begins automatically at server startup.
No
Specifies that event logging to the user exit receiver does not begin automatically at server startup. When this parameter has been specified, you must begin event logging manually by issuing the BEGIN EVENTLOGGING command.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsmodule_name
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsSpecifies the module name of the user exit.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsThis is the name of a shared library containing the exit. The module name can be either a fully qualified path name or just the module name itself. If it is just the module name, it is loaded from the current directory.

Windows operating systemsDLL_name
Windows operating systemsSpecifies the DLL name that contains the user-exit function.
Windows operating systemsfunction
Windows operating systemsSpecifies the name of the user-exit function in the DLL.

Examples

Windows operating systems
userexit yes dllname.dll dllmodulename
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systems
userexit yes fevent.exit