Information Related to Reporting by Using the GUI | |
A formula variable is a variable whose value is calculated but not stored. That is, a formula variable's definition resides in the PDB but its values do not; the view calculates the values when they are needed. Once a formula variable is defined, you can use it in the same way that you can use any other variable except that you cannot use it in the BY variables list or CLASS variables lists.
The definition for CSTOR is based on workload activity metrics, which are in table XTY72. So the definition for CSTOR is added to table XTY72.
PDB Admin -> Config Active PDB Dictionary -> XTY72 -> ItemActions -> List Variables -> Action -> Make Formula
New
Variable
field, type
CSTOR
and select OK. IT
Service Vision displays the Make Formula Variable
window. All the fields have default values that
are fine for this example, except for the
statement that actually assigns a value to CSTOR.
Select Formula Source Code and enter the following code into the body of the BUILD window:
IF ELAPSTM=0 THEN CSTOR=.; ELSE CSTOR=(ACFRMTM-ACESFTM)/ELAPSTM;
Then select File and End.
Yes
. If one or more are No
,
select those variables and then select ItemActions
and Mark Kept. Note: View-building can be a very intensive operation, depending on the amount of data in that table. If your session priority is low and the load on your machine is high, this step may take a few minutes or longer, depending on the amount of data in the table. You can also bypass the view-building and build the views later in batch mode. For more information, see Section 2, Task 1: Customize and Verify Your Test PDB.
One of the strengths of IT Service Vision is the ease with which you can modify supplied report definitions to create custom report definitions. Simply pick a supplied report definition of the same type as the report definition you want to create, and modify it as you did in Section 2, Task 3: Customize Your Report Definitions.
The following steps make a bar chart report definition for CSTOR. The report it generates shows the top fifteen central storage users among the performance groups. The custom report definition is a modification of the supplied report definition named BARSWAP.
Reports -> Supplied Rpts -> page or scroll to BARSWAP -> select BARSWAP -> ItemActions -> Modify Report
Analysis Var: -> page or scroll to end -> CSTOR -> Chart Options -> set Y-values per page to 16 -> set Number for Top"N" Report to 15 -> OK -> OK -> Report Attrs -> Titles -> change Title1 to Central Storage by Performance Group -> OK
Actions -> Run Report
IT Service Vision generates the CSTOR report.
Output Options -> SAS Catalog
IT Service Vision displays the
SAS Catalog Location window. In the Libref and catalog
field, type ADMIN.CPEGRAFS
. In the Entry
name
field, type CSTOR
.
In the Description
field, type Central
Storage by Performance Group
.
Output Options -> Graphics Window -> OK
In this example you will create a new report
definition using the data at the month level of the PDB,
to see how much CPU time is being used by each
operational shift. You will build a pie chart for the sum
of CPU time, which is the variable CPUTM__S in table
XRMFINT. This example assumes that table XRMFINT has a
Kept status of Yes
, the variable CPUTM has a Kept status of Yes
, the sum
statistic is selected at the month level, and some data
have been reduced to the month level.
Reports -> DesignGraphRpt -> Bar or Pie Chart -> Type: -> PIE
Class Variable: -> SHIFT
Analysis Var: -> CPUTM__S -> Define Labels
Change the CPUTM__S description
to Total CPU time
. Then select
OK -> Summary Statistic: ->
click until it displays SUM
Report Attrs -> Titles
In the Title
1
field, type CPU Time Breakdown By Shift
and then select OK.
Actions -> Run Report
IT Service Vision generates the CPU Time Breakdown report.
See examples of using drill charts and graph data in RMF Appendix 2: Tips for Doing Ad Hoc Analysis.