What is the database trigger environment user exit program?
The database trigger environment user exit program is how the generated DB trigger program knows which LANSA system, partition, languages and date source the LANSA environment is to execute in. The database trigger environment user exit program is called DCTRGENVUE and must exist somewhere in the library list of any job that does I/O in any way to a file that has DB Triggers enabled.
The generated DB Trigger program will receive these parameters from the user exit program:
Description |
Type |
Length |
Usage |
LANSA Program Library Name |
*CHAR |
10 |
Must be set |
Partition |
*CHAR |
3 |
Must be set |
Language |
*CHAR |
4 |
May be blank for a non-multilingual partition, otherwise must be set |
Date format source |
*CHAR |
1 |
Must be set to S or J. Refer to the LANSA command parameters. |