The DEACTIVATE-USER-EXIT statement deactivates the user exits that were activated by ACTIVATE-USER-EXIT. The user exits are no longer used with the next corresponding SHOW-ELEMENT or COMPARE-ELEMENT. However, the user routine is not yet unloaded since it may be required elsewhere. This means that in the case of the next ACTIVATE-USER-EXIT with the same entry point, the user program does not need to be linked in again.
The DEACTIVATE-USER-EXIT statement requires specification of the function for which the user exit is to be deactivated.
DEACTIVATE-USER-EXIT | ||||||||||||
|
FUNCTION = *SHOW-ELEMENT / *COMPARE-ELEMENT(...)
Defines the LMS statement for which the user exit is to be deactivated.
FUNCTION = *SHOW-ELEMENT
Deactivate user exit for the SHOW-ELEMENT function.
FUNCTION = *COMPARE-ELEMENT(...)
Deactivate user exit for the COMPARE-ELEMENT function.
ELEMENT = *PRIMARY / *SECONDARY
If the user exit is deactivated for the COMPARE-ELEMENT statement, it is still necessary to define whether the member is a primary or secondary member.
Statement return code
(SC2) | Maincode | Meaning |
0 | CMD0001 | No error |
Required access rights
No access rights are necessary.