SHIFT
For example, a single invocation of this command can produce
BMC AMI Ops Monitor for CMF
reports for system activity during prime, swing, and graveyard shifts.
The SHIFT statement can appear in the general control statement set, the report control statement set, or both sets. In the general control statements, SHIFT defines the data selection start and end times used to produce all the reports requested in the report control statement set. A SHIFT statement for an individual report request overrides a global SHIFT statement for that one report request only.
The SHIFT statement can be used with the DATETIME, CYCLE, and PERIOD statements to produce monthly reports and basic history database trends.
Parameters
The parameters for the SHIFT control statement are as follows:
(startshift,endshift) | specifies a time-pair range that is equivalent to the duration of a shift These variables are expressed in the time format hhmmss. Up to 288 different shift ranges can be specified in one SHIFT statement; the ranges must be separated by commas and enclosed within parentheses. Data is included in a report if its recording time is equal to or greater than thestartshift value and less than theendshift value of any of the time-pairs specified. CMF does not check to ensure that the time pairs specified correspond to default or actual shift periods. When time ranges are specified, they should not overlap. If they do and if RPTS=SEPARATE is specified, some data is used in more than one report shift. If time-pair ranges are not specified, the following three default time pairs are used:
| ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DINTV= | allows you to specify up to 288startshift,endshift pairs of equal length by specifying a start time, number of intervals, and interval duration The DINTV parameter simplifies the specification of equal length time pairs, an alternative to specifying each time pair separately. This parameter specifies that reports be created from data obtained during multiple, evenly-spaced, sequential intervals. These three fields are all required, and commas must separate the three values.
| ||||||||||||||||||||||||||||||||||||
TYPE= | defines how the SHIFT statement is used
| ||||||||||||||||||||||||||||||||||||
DAYS= | limits the scope of the input data by specifying from 1 to 7 days of the week The days can be listed individually or collectively by using the parameter values shown in the following table. The default is ALL, except when RPTS=INTERVAL and RPTS=DAILY, because these parameters are mutually exclusive with DAYS=ALL. Parameter values for DAYS
| ||||||||||||||||||||||||||||||||||||
RPTS= | requests one report for the entire SHIFT definition set or individual reports for each shift time pair
|
Examples
These examples illustrate the use of the SHIFT control statement in the general control statement set.
The following examples illustrate the use of the SHIFT control statement in the report control statement set.