| Input Parameters | Significance |
| DtvLong idm | mask Id |
| char *xbm | pre_mask-userexit |
| Output Parameters | Significance |
| no | - |
| Return Code | Significance |
| 0 | no error |
| 1 | zero pointer |
| 2 | function name not in userexit list |
The pre_mask-userexit is called before the mask is output on the screen.
Any required application parameters must be passed together with the name of the userexit in *xbm. In order to delete an userexit already set, you must pass an empty string.
The function automatically invoke any set mask listener function.