We recently ran into a couple of issues where we had SYSIEFSD Q10 contention which prevented users from logging on to an LPAR and issuing any commands. I know I can set up an alarm to monitor if the SYSIEFSD Q10 enqueue is held for some period of time. Is it possible to invoke the BMC AMI Ops SYSPROG Services product exit service from the alarm to callrtm the holder? This would need to be done without the need to reply to an 'are you sure' message and needs to be done without the use of system commands since they'll get hung up waiting for the Q10 enqueue. SOLUTION: The EXIT SYSPROG service can be used from an Exec using the IMFEXEC RES command found within the BMC AMI Ops Automation product documentation under the identified topic below. The BMC WEB link below navigates to the identified topic. RES https://docs.bmc.com/docs/bao8301/res-1098925326.html This command executes basic SYSPROG services commands. To use this command, you must have the BMC AMI Ops Automation for z/OS component installed. If SYSPROG is installed but BMC AMI Ops Automation for z/OS is not, this command will not function. Related topic Using the IMFEXEC statements When BMC AMI Ops Automation for z/OS is not installed, use the IMFEXEC CMD (MVS command with response) command to access basic SYSPROG services as a Started Task by using an MVS MODIFY command to the SYSPROG services task. Example exec**: /* Rexx */ parse arg jobname . "IMFEXEC MSG '.."imfename" scheduled, jobname="jobname"'" "IMFEXEC RES 'EXIT "jobname"'" **The ALRM Rule can schedule the Exec as an action and pass it the jobname that needs to be terminated from the Alarm text. <<< The BMC AMI Automation product can be used to create a ALRM Rule for the generated alarm messages from the alarm definition, such as MVMVS ENQSTAT view based alarm definition and the EXEC which will execute the SYSPROG EXIT service, it will terminate the owner of the ENQ resource right away without the confirmation reply u. |