Current state set to DOWN while the task was still active during shutdown
search cancel

Current state set to DOWN while the task was still active during shutdown

book

Article ID: 111828

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

During shutdown OPS/MVS issued set to SSMTABLE for a resource of CURRENT_STATE=DOWN. Since (current_state and desired_state) are both set to DOWN. SSM Action table wasn't driven to bring down the resource. The STOPJES2 routine issued an cancel this task later.
From OPSLOG:
OPS7914T SSMv2 AUDIT: STCTBL.taskname UPDATED by OPSOSF SSMSHUT CURRENT_STATE=DOWN 

Environment

Release:
Component: OPSMVS

Resolution

From this message: "OPS7914T SSMv2 AUDIT: STCTBL.taskname UPDATED by OPSOSF SSMSHUT CURRENT_STATE=DOWN" we can see it was the SSMSHUT REXX program that set the CURRENT_STATE of this resource to DOWN. SSMSHUT takes this action when the resource mode is PASSIVE or INACTIVE.
From SSMSHUT comments: "For any PASSIVE or INACTIVE resource force the current state to it's DOWN state (even though the resource isn't actually DOWN). "