Hi Mark,

This should work though I have not tested it.  EASYRULE probably can't
quite do this but I could come close for one day.  EASYRULE is a good
starter for getting a shell that does what you want and then you can
customize it.  Think of EASYRULE as a custom example builder.

)TOD  MONDAY 08:00:00,HOUR ,MONDAY 17:00:00    
      TUESDAY 08:00:00,HOUR ,TUESDAY 17:00:00 
      WEDNESDAY 08:00:00,HOUR ,WEDNESDAY 17:00:00 
      THURSDAY 08:00:00,HOUR ,THURSDAY 17:00:00 
      FRIDAY 08:00:00,HOUR ,FRIDAY 17:00:00                           
)INIT

/**********************************************************************/

/*  Rule Name:     MARK                                               */

/*  Rule Type:     Time-Of-Day                                        */

/*  Rule Function: I need an example of doing a TOD rule which will   */

/*                 execute Monday-Friday and execute an MVS command   */

/*                 every hour from 08:00 am to 05:00 pm. Any help     */

/*                 would be appreciated.                              */

/**********************************************************************/

)PROC

  address OPER

    "D T"

  Return  

Do you have a userid setup on CA's Support web site?  It is a good
resource you need to register for support and also so you can pull the
current set of OPSMVS manuals for your release.  They are good and
include examples. 


http://supportconnect.ca.com/sc/support/Index

For this stuff the AOF Rules User Guide can answer most of your
questions. 

        Best Regards, 

                Sam Knutson, GEICO 
                Performance and Availability Management 
                mailto:[EMAIL PROTECTED] 
                (office)  301.986.3574 

"Think big, act bold, start simple, grow fast..."


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Steely
Sent: Friday, April 28, 2006 6:06 PM
To: [email protected]
Subject: CA-OPS/MVS TOD Rule

I need an example of doing a TOD rule which will execute Monday-Friday
and execute an MVS command every hour from 08:00 am to 05:00 pm. Any
help would be appreciated.
 
Thank You

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html
====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to