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