DtvLong dal_mas_set_xbf_fld (idf, xbf)

Sets a userexit at the pre_field-trigger of the field passed.

Input Parameters Significance
DtvLong idf field Id
char *xbf pre_field-userexit

Output Parameters Significance
no -

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

The pre_field-userexit is invoked before the field is entered with the write cursor.

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

The function automatically invoke any set mask listener function.