DtvLong dal_mas_set_xba_mas (idm, xba)

Sets a userexit at the pre_action-trigger of the mask passed.

Input Parameters Significance
DtvLong idm mask Id
char *xba pre_action-userexit

Output Parameters Significance
no -

Return Code Significance
0 no error
1 zero pointer
2 function name not in userexit list

The pre_action-userexit is called before an operation is executed in the mask (insert, update, query, delete, rollback).

Any required application parameters must be passed together with the name of the userexit in *xba. In order to delete an userexit already set, you must pass an empty string.

The function automatically invoke any set mask listener function.