Defining time zones is important because summarizing data by
zone lets you evaluate availability and load during different
service periods, both in the short-term and the long-term.
For example, in evaluating online service, attention is
focused on the activity of the peak load zones, while little,
if any, attention is directed at the non-peak zones.
You code information about the operating schedule or service
periods (time zones) used at your data center in
sharedprefix.MICS.PARMS(CPLXZONE) and/or
prefix.MICS.PARMS(ZONE).
o sharedprefix.MICS.PARMS(CPLXZONE) provides a global,
complex-level time zone definition.
o prefix.MICS.PARMS(ZONE), the unit-level parameters,
override the complex-level definition from
sharedprefix.MICS.PARMS(CPLXZONE).
It is your choice to use the complex-level ZONE defintion or
to fully specify the ZONE definition at the unit-level. As a
general rule, you should use the complex-level parameter,
sharedprefix.MICS.PARMS(CPLXZONE), to establish a consistent
time zone definition for all units. In this way, you can
maintain your holiday and special shift definitions in a
single parameter member, and implement changes with a single
CA MICS parameter generation. In using this approach, the
individual unit database prefix.MICS.PARMS(ZONE) members will
contain the single parameter line,
COMPLEXZONEPARM USE
Use the unit-level time ZONE parameters to override the
complex-level time zone definitions to address special
requirements for different time zone definitions for
different units of work. For example one database unit may
support a remote data center, or you may have unique shift
differential requirements for online transaction workloads
separate from standard TSO and batch workloads. In these
situations, you isolate the special workloads to a unique
unit database and fully specify a unique time zone definition
in prefix.MICS.PARMS(ZONE) for that unit database. Note
that the unit-level ZONE definition completely replaces and
overrides the complex-level ZONE definition for this unit
database. You control this choice with the COMPLEXZONEPARM
USE/IGNORE parameter in prefix.MICS.PARMS(ZONE). See Section
2.3.2.3 for more information on the unit-level ZONE
definition.
The remainder of this section describes how to specify your
global complex-level time zone definition in
sharedprefix.MICS.PARMS(CPLXZONE). After completing the time
zone definition, execute sharedprefix.MICS.CNTL(CPLXGEN) to
implement your specifications.
In sharedprefix.MICS.PARMS(CPLXZONE), you are asked to define
up to nine service periods (time zones) for your
data center. Time zones are defined once and apply to all
Information Areas within a database. It is not possible to
have a time zone for TSO and another time zone for RMF in the
same database. These service periods, which are also
sometimes referred to as "shifts," are applied over all batch
and online work examined by CA MICS.
The time zone, which is identified by the data element ZONE
in the database, is used for summarizing data in the WEEKS,
MONTHS, and YEARS timespans (it becomes part of the key of
the files, replacing DAY, HOUR, and End Time-Stamp). The
ZONE data element also improves the user's ability to select
or extract data easily from files in the DETAIL and DAYS
timespans where it exists, but is not part of the key.
The number of zones defined impacts the projected space
requirements of the database since the data element ZONE is
used for summarization (is part of the key of the files) in
the WEEKS, MONTHS, and YEARS timespans. The more zones, the
larger the online DASD space requirements for the database.
We recommend that the number of standard zones defined be
four or fewer, with one zone for holidays.
CA MICS supports two kinds of ZONEs:
Standard zones are periods that recur in each week. For
example, a standard zone can be defined as "9 a.m. to 5
p.m. on Mondays through Fridays, except for holidays".
Holiday zones are periods that are precisely identified
by date and time. For example, "9 a.m. to 5 p.m. on
New Year's Day, January 1, 2003". In addition, some
data centers have used holiday zones to identify "super
peak" periods such as end-of-month closings.
In determining the ZONE into which a specific date/time
combination found in a measurement record falls, CA MICS
first checks the holiday zones for an exact match. If one is
found, the corresponding zone number is used. If there is no
match against a holiday zone, the standard zones are checked.
A standard zone can always be assigned to any date/time
because CA MICS requires you to assign every one of the 168
hours in a week to a standard zone (no overlapping is
allowed).
A sample definition of time zones follows:
+-----------------------------------------------------------+
| Time Zone | Time Included in Zone Definition |
| Number | Days of the Week Start-End Hours |
|--------------+--------------------------------------------|
| 1 | Monday through Friday 8 a.m. - Noon |
| 1 | Monday through Friday 1 p.m. - 5 p.m. |
| 2 | Monday through Friday 6 a.m. - 8 a.m. |
| 2 | Monday through Friday Noon - 1 p.m. |
| 2 | Monday through Friday 5 p.m. - 8 p.m. |
| 3 | Monday through Friday Midnight - 6 a.m. |
| 3 | Monday through Friday 8 p.m. - 12 p.m. |
| 3 | Saturday and Sunday All day |
| 4 | Holiday 12/25/93 All day |
| 4 | Holiday 01/01/94 All day |
+--------------+--------------------------------------------+
Figure 2-9B. Time Zone Definition Example
Figure 2-9B illustrates that time zones are simply periods or
"windows" within a given week (standard zones) or specific
calendar dates (holiday zones).
Figure 2-9C is a worksheet for collecting the data with which
to complete sharedprefix.MICS.PARMS(CPLXZONE). It asks you
to do the following:
1. Identify the number of standard zones to be defined. Up
to nine are allowed. They need not be defined in
sequential order, nor need the numbers be contiguous.
2. Define the hours and days of week that each standard zone
will include.
3. Define the holiday dates, for as many years as is
necessary (holiday zone definition for three years is
suggested).
4. Define the hours and days of week that each holiday date
will include. In most cases, this is 00 to 23.
5. Define a descriptive name to be used with each zone.
The first entries on the worksheet are completed with sample
information. The entry at the top of the form specifies that
standard zone 1 includes the hours from 08 (8 a.m.) to 15 (up
to, but not including 4:00 p.m.) on weekdays (Monday through
Friday). For many sites, this is the definition of "prime"
shift, and, indeed, the reporting name assigned to this zone
is PRIME TIME. The entry on the second part of the form
defines New Year's Day as being part of the holiday zone,
number 4.
+--------------------------------------------------------------------------+ | INSTALLATION PREPARATION WORKSHEET: Time Zone Specification | |--------------------------------------------------------------------------| | PARMS Library Member is CPLXZONE | | Reference Sections: 2.3.2.3, 2.3.2.3.1, and 2.3.2.3.2 | +--------------------------------------------------------------------------+ | | | STANDARD ZONES | | ZONE START END START END SERVICE | | NO DAY DAY HOUR HOUR FACTOR ZONE NAME | +--------------------------------------------------------------------------| | 1 MON FRI 08 15 1 'PRIME-TIME' | | (sample) | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | | _ ___ ___ __ __ ___ '______________________________' | +--------------------------------------------------------------------------| | HOLIDAY ZONES | | ZONE START END SERVICE | | NO YEAR MONTH DAY HOUR HOUR FACTOR ZONE NAME | +--------------------------------------------------------------------------| | 4 94 01 01 00 23 1 'HOLIDAY SAMPLE' | | (sample) | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | | _ __ __ __ __ __ ___ '______________________________' | +--------------------------------------------------------------------------+ | ....5...10...15...20...25...30...35...40...45...50...55...60...65...70.. | +--------------------------------------------------------------------------+
Figure 2-9C. Time Zone Specification Worksheet
The following summarizes how to code the parameters required
in sharedprefix.MICS.PARMS(CPLXZONE). The planning issues
are discussed in more detail in the sections that follow.
If you are defining ZONE at the complex level:
o The member contains one line per standard zone (ZONE)
entry and one line per holiday zone entry (HOLIDAY).
Comments may be coded by beginning the statement with an
asterisk (*).
o The format of the statements is free-form but positional.
All parameters are required. The parameter placement for
a standard zone is:
KEYWORD (ZONE)
ZONE NUMBER (1 through 9)
STARTING DAY (SUN MON TUE WED THU FRI SAT)
ENDING DAY (SUN MON TUE WED THU FRI SAT)
STARTING HOUR (00 to 23)
ENDING HOUR (00 to 23)
SERVICE FACTOR (.1 to 99.9)
ZONE NAME (1- to 40-character name in quotes)
o The parameter placement for a holiday zone is:
KEYWORD (HOLIDAY)
ZONE NUMBER (1 through 9)
YEAR (00 through 99 or %%)
MONTH (01 through 12)
DAY (01 through 31)
STARTING HOUR (00 to 23)
ENDING HOUR (00 to 23)
SERVICE FACTOR (.1 to 99.9)
ZONE NAME (1- to 35-character name in quotes)
o For holidays that occur on the same calendar date
regardless of the year, the characters "%%" are specified
in place of a year value, thereby treating all occurrences
of the date as the holiday regardless of the year. For
example, New Year's Day is January 1 regardless of the
year, so %% is coded in place of a year value.
One or more statements may be required to fully describe a
zone. Remember the following points when specifying time
zones.
o The parameters for standard zones must account for all 168
hours of the week with no overlapping permitted.
o The ending day must follow the starting day within the
order specified. (To CA MICS, a week begins on Sunday and
ends on Saturday so you may not "wrap" over the weekend.
The WEEKSTART parameter of prefix.MICS.PARMS(SITE) and
sharedprefix.MICS.PARMS(CPLXDEF) does not affect ZONE
specification. The only exception to this rule is that a
weekend zone may be specified as starting on Saturday and
ending on Sunday.)
o The ending hour must be greater than or equal to the
starting hour (note that "15" means 3 p.m. when specified
as a starting hour, but means 3:59:59.99 p.m. when
specified as an ending hour).
o Day and/or time splits (e.g., a shift that spans midnight
or a zone that includes Saturday and Sunday and other
days) must be defined with multiple statements.
o The ending day and starting day are the same when the
statement defines a single day.
You should modify the sharedprefix.MICS.PARMS(CPLXZONE)
member distributed with CA MICS to reflect your data center's
needs.
The following sections describe in detail the parameters
mentioned above and the planning considerations involved in
correctly specifying them:
1 - Standard Time Zones
2 - Holiday Time Zones
Note: If you determine that the standard CA MICS ZONE
definition facilities cannot meet your data center's
requirements, an exit lets you override and redefine the ZONE
value assigned through the standard defintion facility. See
the System Modification Guide, Section 4.3.2.1, for more
information on the ZONE definition exit.
Important! Be careful when using this exit because changes
in the CA MICS ZONE construct can have serious implications,
including, but not limited to, total database corruption.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |