Interval Compare

The Interval Compare test type can validate all the data for an interval by comparing all the data at a summary display level, i.e. Plan Summary, Program Summary, Statement Summary etc, between a baseline and a current set of data.

Jenkins Test Status

The table below lists the jenkins tests that are available and what the status of the last run of the test was. Click on the status icon to go straight to jenkins for the particular build project.

Jenkins Build Name Status
PDT_all_standard_activity_Interval_compare_summary_levels Build Status
PDT_interval_compare_single_view_by_test Build Status
PSA_all_object_activity_interval_compare_summary_levels Build Status
PSA_interval_compare_single_view_by_test Build Status

Test Parameters

The table below lists the required and optional parameters that are valid for this test. Follow the link by clicking on the parameter name in the JSON column. If the parameter has a command line override option it will be listed in the Command Line Override column. Additionally there are examples at the bottom of this page.

Required

JSON Command Line Override Special Usage or Note
product_code
test_type
lpar lpar
userid userid
ssid ssid
baseline_vcat baseline_vcat
baseline_datastore baseline_datastore
baseline_interval_date baseline_interval_date
baseline_interval_time baseline_interval_time
current_vcat current_vcat
current_datastore current_datastore
current_interval_date current_interval_date
current_interval_time current_interval_time
view_by view_by

Optional

JSON Command Line Override Special Usage or Note
environment environment
output_location output_location
range_pct range_pct Default - 10% if not specified.
view_type view_type If not provided then products default is used.
view_option view_option Applies only to Subsystem Analyzer.
key_option key_option If view_by=K must be specified otherwise error occurs.
ssid2 ssid2 If provided indicates the baseline_datastore is for a different ssid than the primary.
column column Can be used to indicate that only the data in the specified column should be compared for the test.
baseline_interval_date_2 baseline_interval_date_2
baseline_interval_time_2 baseline_interval_time_2
current_interval_date_2 current_interval_date_2
current_interval_time_2 current_interval_time_2

JSON Examples


Non-Key Display Example

{
    "connection":
    {
      "lpar": "ca31",
      "userid": "qartp01",
      "ssid": "d12a",
      "ssid2": "d11a"
    },
 "tests":
    [
      {
        "test_type": "interval compare",
        "product_code": "PDT",
        "environment": "SPEAN03.R19.PARMLIB",
        "baseline_vcat": "PDTDBA.SPEAN03",
        "baseline_datastore": "PYTHON",
        "current_vcat": "PDTDBA.SPEAN03",
        "current_datastore": "PYTHON",
        "baseline_interval_date": "16/07/20",
        "baseline_interval_time": "10:07:09",
        "current_interval_date": "16/07/20",
        "current_interval_time": "10:42:34",
        "view_by": "S",
        "view_type": "A"
      }
    ]
}

Key Display Example

{
    "connection":
    {
      "lpar": "ca31",
      "userid": "qartp01",
      "ssid": "d12a",
      "ssid2": "d11a"
    },
 "tests":
    [
      {
        "test_type": "interval compare",
        "product_code": "PDT",
        "environment": "SPEAN03.R19.PARMLIB",
        "baseline_vcat": "PDTDBA.SPEAN03",
        "baseline_datastore": "PYTHON",
        "current_vcat": "PDTDBA.SPEAN03",
        "current_datastore": "PYTHON",
        "baseline_interval_date": "16/07/20",
        "baseline_interval_time": "10:07:09",
        "current_interval_date": "16/07/20",
        "current_interval_time": "10:42:34",
        "view_by": "K",
        "key_option": "R",
        "view_type": "A",
        "range_pct": 15
      }
    ]
}

Compare only a specific column of data

{
    "connection":
    {
      "lpar": "ca31",
      "userid": "qartp01",
      "ssid": "d12a",
      "ssid2": "d11a"
    },
 "tests":
    [
      {
        "test_type": "interval compare",
        "product_code": "PDT",
        "environment": "SPEAN03.R19.PARMLIB",
        "baseline_vcat": "PDTDBA.SPEAN03",
        "baseline_datastore": "PYTHON",
        "current_vcat": "PDTDBA.SPEAN03",
        "current_datastore": "PYTHON",
        "baseline_interval_date": "16/07/20",
        "baseline_interval_time": "10:07:09",
        "current_interval_date": "16/07/20",
        "current_interval_time": "10:42:34",
        "view_by": "G",
        "view_type": "A",
        "column": "INDB2_TIME"
      }
    ]
}

Selecting a range of intervals

{
    "connection":
    {
      "lpar": "ca31",
      "userid": "qartp01",
      "ssid": "d12a",
      "ssid2": "d11a"
    },
 "tests":
    [
      {
        "test_type": "interval compare",
        "product_code": "PDT",
        "environment": "SPEAN03.R19.PARMLIB",
        "baseline_vcat": "PDTDBA.SPEAN03",
        "baseline_datastore": "PYTHON",
        "current_vcat": "PDTDBA.SPEAN03",
        "current_datastore": "PYTHON",
        "baseline_interval_date": "16/07/20",
        "baseline_interval_time": "10:07:09",
        "baseline_interval_date_2": "16/07/20",
        "baseline_interval_time_2": "12:07:09",
        "current_interval_date": "16/07/20",
        "current_interval_time": "12:42:34",
        "current_interval_date_2": "16/07/20",
        "current_interval_time_2": "12:42:34",
        "view_by": "S",
        "view_type": "A"
      }
    ]
}