Previous Topic: Invoke STATESET OPS/REXX Program from a Console

Next Topic: Set the Desired State Through the Schedule Manager

Set the Desired State Automatically with a Time Rule

You can write time rules to set the desired state.

Suppose that you want to bring many of your online CICS regions up at a certain time specified in the resource information table. You could add a START_TIME column to the table to identify all CICS regions to be brought up at that time. The following time rule would then start all CICS regions that are supposed to be up at 6:00 a.m.:

)TOD 06:00:00
)PROC
   Address 'SQL' "Update STCTBL Set DESIRED_STATE = 'UP'",
     "where TYPE='CICS' and START_TIME='06:00'"
)END