MVS Appendix 2: Tips for Reports

Table Of ContentsIT Service Vision Help


A Collection of Tips

Here are some tips that may be useful to you as you generate reports with IT Service Vision.

Tips for Subsetting Data

Subsetting via DATETIME

If your report displays no observations (you get an empty report) or if your report displays observations in only one part of the date range of the processed or reduced data, you may need to reset the report definition's datetime range.

Follow this path from the report's main report definition window:

   DateTime Range -> Reset from PDB -> OK

IT Service Vision looks in the PDB's data dictionary to find the earliest and latest DATETIME values at the level that is specified on the main report definition window.

If you want to use less of that range, you can type over the values in the Begin and End fields.

Note: The need to reset may occur when you are designing or modifying report definitions and switch from one table to another or one level to another. The begin and end points of the range are global variables that retain their values until you change them or switch the active PDB.

Subsetting by a Simple Local Where Expression

A Local Where expression applies to a single report definition.

If your report definition generates a report that includes observations in which you are not interested, you can use the Local Where to restrict the observations to the ones in which you are interested. For instance, suppose you have a report definition with a BY variables list that includes MACHINE, and you have many machines but you are only interested in a few of them for this report definition. Rather than get dozens of graphs and ignore all but a few, you can generate just the ones you want to see.

From the report's main definition screen, select Local Where. Under Local subsetting follow this path:

   Varname -> MACHINE -> Operator ->
   IN -> Value(s) ->
   select the machines on which you want to report ->
   OK -> OK

This method is not restricted to subsetting by MACHINE. You can subset by any variable that is in the specified level of the specified table. For instance, you can report on only first shift data by using this WHERE expression:

   SHIFT = '1'

If you want to subset by more than a few values, you may want to create a user format.

Note: By default, if there is an expression in the Local Where, it overrides the expression, if any, in the Global Where. If you want the report definition to use both the Local Where and the Global Where, insert the words SAME AND in front of the WHERE expression in the Local Where.

Subsetting by a Simple Global Where Expression

A Global Where expression applies to all report definitions.

You may want to generate a number of reports with the same subsetting; for this, use a Global Where expression. For instance, you may be having trouble with a few machines and want to run a number of reports for just those machines. In this case, rather than changing the Local Where for each report, you can set the Global Where (on any report definition) and it will apply to all report definitions until you reset it to blank.

From the report's main definition screen, select Global Where. Under Global subsetting follow this path:

   Varname -> MACHINE -> Operator ->
   IN -> Value(s) ->
   select the machines on which you want to report ->
   OK -> OK

This method is not restricted to subsetting by MACHINE. You can subset by any variable that is in the specified level of the specified table. For instance, you can report on only first shift data by using this WHERE expression:

   SHIFT = '1'

If you want to subset by more than a few values, you may want to create a user format.

Note: By default, if there is an expression in the Local Where, the Global Where is ignored (unless the Local Where starts with the words SAME AND).