BackBox H4.00 User Manual

Support Tools
105 BackBox H4.00 User Manual
The user must ensure the BackPak macros are loaded in the TACL session, from the
installation sub-volume of the domain to extract statistics from.
VOLUME domain-subvol
LOAD /KEEP 1/ BBSETUP MACROS
The period to extract must be set by TACL PARAMs:
PARAM CUTOFF-TIME hh:mn:ss
PARAM FROM-DATE yyyy-mm-dd
PARAM TO-DATE yyyy-mm-dd
This will select activity from FROM-DATE & CUTOFF-TIME (included)
to TO-DATE & CUTOFF-TIME (excluded).
A shortcut to set these three PARAMs to the latest 24h period is to run the macro:
BB018_DEFAULTS
The extraction is triggered by a macro whose parameters set name and format of the
extracted file:
BB030_EXTRACT_STATS EXTRACT_FILE file-name [,FIELD_NAMES YES|NO
]
EXTRACT_FILE
specifies the name of the NonStop file that will be re-created.
FIELD_NAMES YES will generate an extra first line with the name of record fields, for the
workstation import tools that can use it.
A control report is generated by the macro:
BPAK-BB030 - Extraction of statistic files 2010-08-18 14:39
Stats file names : $DATA05.BPAK.STAT%YY%%MM%
Extract file : $data21.temp.stats1
Selection from : 2010-08-17 15:00:00 to: 2010-08-18 15:00:00
Existing statistic files Records read Records extracted
------------------------ ------------ -----------------
\ETINIUM.$DATA05.BPAK.STAT1005 0 0
\ETINIUM.$DATA05.BPAK.STAT1006 0 0
\ETINIUM.$DATA05.BPAK.STAT1007 0 0
\ETINIUM.$DATA05.BPAK.STAT1008 1954 45
Total records written: 45
The name of all statistics files matching the file name pattern configured in the
domain is printed, with the number of reads and writes executed.