Previous Topic: Invoke STATESET OPS/REXX Program from a ConsoleNext 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. For example, you want to bring many of your online CICS regions up at a certain time that is 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 then. 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