Hello,
When you have a question, you should start a new topic. This has been split to a new topic.
Why is there a want/need to do this from within any cobol code (cics or otherwise). . .
System maintenance tasks are not done (nearly never) in "application code".