OPSMVS monthly TOD rule
search cancel

OPSMVS monthly TOD rule

book

Article ID: 236302

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Is there a way to specify in an OPSMVS time of day rule to fire of a rule on a monthly basis?

For instance, I want to execute a rule on the second day of the month at 08:00

 

Environment

OPS/MVS

Resolution

The sample rule below will fire every day at 8:00 but will only take any actions every 2nd day of the month.

)TOD 08:00                           
)PROC                                
IF LEFT(DATE(E),2) <> '02' THEN EXIT 
/* put your actions here */