HP 3000 Manuals

WEEKLY [ HP Performance Collection Software User's Manual (for MPE Systems) ] MPE/iX 5.0 Documentation


HP Performance Collection Software User's Manual (for MPE Systems)

WEEKLY 

WEEKLY [yyww]
       [ww  ]
The WEEKLY command specifies data extraction based on a calendar week.  A
week is defined as seven days starting on Monday and ending on Sunday.

When this command is executed, the start and stop dates are set to the
proper dates based on the week and year of the extracted data.

The name of the output file consists of the letters RXWE followed by the
last two digits of the year and the two-digit week number for the week
being extracted.  For example, the 20th week of 1990 (from Monday, May 14
to Sunday, May 20) would be output to a file named RXWE9020.

Enter one of the following:

WEEKLY       To extract the current week's data.

WEEKLY ww    To extract a specific week's data from this
             year's data (where ww is any number from 01 to
             52).

WEEKLY yyww  To extract data for a specific week and year
             (where yyww is a single number composed of the
             last two digits of the year and the two-digit
             week-of-the-year number).  For example, the 20th
             week of 1991 would be WEEKLY 9120.

If you do not specify the log file before executing the WEEKLY command,
it defaults to the file LOGGLOB.SCOPE.SYS.

The type of data extracted and the level of summarization of that data
follow the normal rules for EXTRACT and can be set before executing the
WEEKLY command.  These settings are honored unless the weekly output file
already exists.  If it does, data is appended to it based on the original
type of data selected.

The WEEKLY command has a special feature.  It opens the previous week's
extracted file and checks to see if it is filled--whether it contains
data extracted up to the last day of the week.  If not, the WEEKLY
command appends data to this file to complete the previous week's
extraction.

For example, a WEEKLY command is executed on Thursday, May 17, 1991.
This creates a log file named RXWE9120 containing data from Monday, May
14 through the current date (May 17).

On Wednesday, May 23, 1991 another WEEKLY command is executed.  Before
the RXWE9121 file is created for the current week, the RXWE9120 file from
the previous week is opened.  When it is found to be incomplete, data is
appended to it to complete the extraction through on Sunday, May 20,
1991.  Then, the RXWE9121 file is created to hold data from Monday, May
21, 1991 to the current date (May 23).

As long as you execute the WEEKLY command at least once a week, this
feature completes each week's file before the next week's file is
created.  Whenever you see two weekly files adjacent to each other (for
example, RXWE9120 and RXWE9121) you can assume safely that the first file
is complete for that week, and it can be archived and purged.


NOTE The weeks are numbered based on their starting day. Thus week one of the year is the week starting on the first Monday of that year. Any days before that Monday belong to the last week of the previous year.
Sample WEEKLY Task In this task, you extract the current week's data and complete last week's extracted file, if it is still present. GLOBAL BOTH APPLICATION BOTH PROCESS DETAIL DISC DETAIL WEEKLY A file named RXWE followed by the current year and week of the year is used as the output file.


MPE/iX 5.0 Documentation