Previous Topic: IF Command—Assign Identifier ValuesNext Topic: INPUT Command-Input File Name


INCLUDE Command-Define Time Ranges

The INCLUDE command defines time ranges to include in a report. You cannot use both INCLUDE and EXCLUDE commands in the same report. You can use multiple INCLUDE commands to include multiple time ranges.

This command has the following syntax:

INCLUDE [day] [time - time] [ID name]
 [date]
 [date time - date time]
 [month]
day

Specifies the day of the week specified as: SUNday, MONday, TUESday, WEDnesday, THURsday, FRIday, or SATurday

time

Specifies the time of day in hh:mm:ss format

date

Specifies the date in mm/dd/yy format

ID name

Specifies an identifying name to be associated with a specific setting of the INCLUDE command, for use with the SELECT variable option.

month

Specifies the month specified as: JANuary, FEBruary, MARch, APRil, MAY, JUNe, JULy, AUGust, SEPTember, OCTober, NOVember, or DECember

Examples: INCLUDE Command

INCLUDE SATURDAY

INCLUDE SUNDAY

INCLUDE 07/04/08

INCLUDE 12:00:00 - 13:00:00

INCLUDE FRIDAY 16:00:00 - 17:00:00

INCLUDE 08:00:00 - 15:59:59 ID 1STSHIFT
INCLUDE 16:00:00 - 23:59:59 ID 2NDSHIFT
INCLUDE 00:00:00 - 07:59:59 ID 3RDSHIFT

INCLUDE JULY