Question:
To properly DROP USERs/GROUPs it is a three step process.
You must issue the DROP USER or DROP GROUP commands using OCF or IDMSBCF, then run the SDEL task in CV, then redo the same DROPs.
Is there a way to do this in a single execution?
Answer:
All three steps must be done to correctly drop Users and Groups that have been granted any security privileges using IDMS internal security GRANTs.
Suggestion is for the DBA/Security Admin is to create a three-step Batch Job.
First step executes IDMSBCF to do whatever DROP USER or DROP GROUP commands are needed.
Second step executes UCF Batch (RHDCUCFB) to execute the SDEL task then BYE.
Third step executes IDMSBCF with the exact same DROP commands as step 1.
Additional Information:
SECURITY ADMINISTRATION GUIDE