User exits
The Transaction Server incorporates user exits to allow customization of several operations by an experienced programmer. These user exits are different from the standard event handler in that they allow the exit-writer to modify the operation of Transaction Server as it does a specific task.
| User exit name | Description |
|---|---|
| Load Expected Presentments | This user exit is used to specify which expected batches (ICLs) are loaded, and to override certain specifications about the expected batches (ICLs) that are being loaded. |
| Selection User Exit (Transaction Server) | This user exit is used to identify the target Transaction Server before the item retrieve request is made. |
com.ibm.icpcs.utilities.userexit.UserExitInterface public void init ( Properties params );
public void execute ( UserExitRequest params );The init () method is called when the user exit is first loaded at Transaction Server startup. It relays parameters from the startup configuration to the user exit. The
parameters are passed by using the standard java.util.Properties class object instance. The
specific parameters for a particular user exit are outlined for each exit type supported. The user exit is
responsible for saving any initialization parameters that it finds for the duration of the user exit
lifetime.
| Method | Description |
|---|---|
|
Various accessors to allow retrieval of named parameters of various types during user exit invocation. Refer to the specific user exit description for a description of the parameters it receives. |
|
Various mutators to allow the user exit to return information to the Transaction Server. You cannot return null values by using these mutators. To return a null value, fail to set the parameter. Refer to the specific user exit description for a description of the return information it requires. |
|
Can be called by the user exit to issue trace and log messages to the Transaction Server log files. The type of log message that is generated is determined by the method:
|
|
Returns a database connection for the FTM database to the caller. Not all user exits pass a database connection to the user exit. Check the exit description to ensure that a database connection is available on request. |
|
Note: All parameters, both input and output, use case-sensitive naming. Therefore, you must specify the
parameter by using the exact name as shown in the user exit description.
|
|