The SHIFT command restricts the hours of the day covered by a report.
Like most secondary commands, the SHIFT command cannot be used twice for the same report, even if two different periods of time are specified.
The following provides an incorrect use of SHIFT commands in a command stream and the corrected command stream:
GRAF variable SHIFT 08:00:00 12:00:00 SHIFT 13:00:00 17:00:00 END RUN
GRAF variable SHIFT 08:00:00 17:00:00 END GRAF variable SHIFT 13:00:00 17:00:00 END RUN
This command has the following syntax:
SHIFT start-time end-time
Specifies the earliest time to include in the report, in hh:mm:ss format, where hh is hours, mm is minutes, and ss is seconds. You can use periods instead of colons to separate the hours, minutes, and seconds.
Specifies the latest time to include in the report, in the same format as start-time.
Examples: SHIFT Command
To graph only the activity that occurs between 8:00 a.m. and 5:00 p.m., enter the following:
GRAF variable SHIFT 08:00:00 17:00:00 END RUN
Shifts can cross midnight. For example, to write a tabular report that covers from 11:00 p.m. to 7:00 a.m., use the following commands:
TAB variable SHIFT 23:00:00 07:00:00 END RUN
|
Copyright © 2013 CA.
All rights reserved.
|
|