Is there any special authorization needed to switch DMLO user exit on and off dynamically?
No special authorization is needed. The three levels of DMLO security do not include restricting SET EXIT command:
? Level One Security—You may choose to bypass the CA IDMS DMLO security feature. If you decide not to use security, CA IDMS DMLO will verify only that the subschema name entered at signon is valid and usable.
? Level Two Security—Security is achieved through user ID and password entered at signon. CA IDMS DMLO allows you three chances to enter your correct password and ID.
? Level Three Security—At this security level CA IDMS DMLO verifies both password and ID (Level Two) and also makes certain that the user is authorized to access the subschema requested.
If authorization is required it could be said to be in the setting of USDTPARM itself.
The SET EXIT command will only be allowed for one of the DYNAM options:
USERXIT=(DYNAM,OFF) / USERXIT=DYNAM or USERXIT=(DYNAM,ON).
With SET EXIT ON or SET EXIT OFF fails with W5002 EXIT CHANGES DISALLOWED
CA IDMS DMLO Runtime Parameters