Is there a way to allow users to shut down their own CICS regions, but not allow them to shut down other CICS regions?
The CICS transaction to shutdown a CICS region cleanly is:
CEMT P SHUT
(This is issued from native CICS.)
To limit the users to issuing this only on their CICS region(s):
TSS MODIFY(FAC(USERnn=NAME=cicsfac))for any control options to be set other than the defaults.
TSS ADD(acid) MASTFAC(cicsfac)If the CICS region is started as a started task, the region acid is the acid in the started task table for the CICS procname. Issue TSS LIST(STC) to see the procnames in the started task table. For example, TSS LIST(STC) has the following entry in the list:
STC = CTS32A ACID = CICS32AFor the CICS region with procname CTS32A, the region acid is CICS32A.
where 'acid' is the user acid, an attached profile, or the ALL record is the facility defined in step 1.
TSS ADD(acid) FACILITY(fac)
TSS ADD(dept) OTRAN(CEMT)
TSS PERMIT(acid) OTRAN(CEMT) ACCESS(EXECUTE) FACILITY(cicsfac)