SSM - Using the sample STOPSTC REXX causes a flood of activity in the OSF servers
search cancel

SSM - Using the sample STOPSTC REXX causes a flood of activity in the OSF servers

book

Article ID: 204315

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

When using UP_DOWN actions in the STCTBL_ACT to TSOCMD("OI STOPSTC ...) instead of MVSCMD("STOP &JOBNAME") may cause a high demand for OSF servers during system shutdown.

Environment

Component : OPS/MVS

Resolution

If it is necessary to use the timeout functionality to handle the shutdown of STC, the sample rule SSMCMDS can be used instead of the STOPSTC REXX. 

For example, to issue the STOP command for a STC and after 60 seconds issue a CANCEL command if the task is still not down:


RULE("SSMCMDS &SSM!RESNAME &DESIRED_STATE {STOP &JOBNAME} 60 {CANCEL &JOBNAME}")