Previous Topic: TOD Event DefinitionNext Topic: Action Statement Definition


Group Definition

TOD events defined with the SCHD command can be grouped together under a single name. This enables you to code a single action (WHEN) command to be issued when any of the TOD events within the group occur. To group a set of TOD events, the SCHD command is used with the GROUP operand:

SCHD              NAME=group.name,
GROUP=(event.name,event.name,...)
NAME=

A required parameter that names this SCHD definition. The event.name can be any unique alphanumeric character string up to 24 characters in length. The first character must be alphabetic.

GROUP=

This parameter is used to group multiple event definitions together and assign them a single name. The event names must be enclosed in parentheses. There is a limit of 8 event names that can be specified for the GROUP operand. If more than 8 event names are required to make up a group, use another SCHD statement with the same NAME operand as this one and specify the additional event entries. This process can be repeated as many times as necessary.