SSM PREREQ only for startup
search cancel

SSM PREREQ only for startup

book

Article ID: 379848

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Is there a way to make a resource to be prerequisite for the start of another task but make the parent task to not depend on the shutdown of the child task?

For example:

TASKA should be started before TASKB, but TASKA should also be stopped before TASKB?

Environment

OPS/MVS

Resolution

To obtain this behavior, make the following definitions:

RESOURCE: TASKA

PREREQ: >TASKB

------

RESOURCE: TASKB
PREREQ: +TASKA

Explanation:

For TASKA, having a positive sub-requisite of TASKB by using the character ">" before the resource name causes TASKB to only be stopped after TASKA is stopped

For TASKB, having a positive prerequisite of TASKA by using the character "+" before the resource name makes it be treated as a normal prerequisite for the activation but it is not considered during the shutdown. In other words, TASKA can be stopped before TASKB.

This concepts are discussed in the link below of the documentation:

How to define prerequisite resources