Previous Topic: PSWDPHR Keyword—Test Password PhraseNext Topic: RCLASS Keyword—Data Classification Resource Class Definition


RANGE Keyword—Time Interval

Valid on z/OS, z/VSE, and z/VM.

Use the RANGE keyword to:

For information on using RANGE, see the GID or UID keyword.

This keyword has the following format:

TSS ADDTO(SDT) TIMEREC(timename) RANGE(hhmm:hhmm,...)
hhmm:hhmm

Specifies a list of one or more entries in the format hhmm:hhmm for the starting and ending times of a range. You can indicate up to 53 ranges per command. End time must be greater than start time.

Each time is denoted in hours (hh) and minutes (mm) based on a 24‑hour day. Values for minutes must be 00, 15, 30, or 45, designating 15‑minute increments of a range. For example, specifying 00 for minutes includes minutes 00 to 14 in the range. Therefore, RANGE(1200:1300) signifies 12 noon through 1:14 p.m. If you only want noon to 1 p.m., then specify RANGE(1200:1245) to designate those four quarter hours.

A single time range in the list cannot include midnight. For example, to specify 11 p.m. until 1 a.m., enter:

RANGE(2300:2345,0000:0045)
not 
RANGE(2300:0045)

This keyword is used with:

Example: RANGE keyword

This example adds a time period from 1 p.m. to 5 p.m. to the RANGE field of the TIME record called TEMP1 in the SDT:

TSS ADDTO(SDT) TIMEREC(TEMP1)
               RANGE(1300:1645)