CAST System Views - Dashboard Service

This document provides a detailed description of each CAST System View provided in the Dashboard Service (all tables/views beginning with CSV_) together with column information. Depending on your specific configuration, some tables/views may not be available.

Choose the item you would like to know more about from the menu above.

Tables

To extract the following information you can use this query in a Microsoft SQL Server environment:

SELECT
A.TABLE_NAME,
B.COLUMN_NAME,
B.DATA_TYPE,
B.CHARACTER_MAXIMUM_LENGTH

FROM
INFORMATION_SCHEMA.TABLES A,
INFORMATION_SCHEMA.COLUMNS B

WHERE
A.TABLE_NAME LIKE 'CSV_%'
AND A.TABLE_NAME = B.TABLE_NAME
AND A.TABLE_TYPE = 'BASE TABLE'

ORDER BY TABLE_NAME

CSV_PARAM

Reference table for labels used in the CSV_ views

Column NameLabelColumn Type
PARAM_TYPEType of the labelvarchar(10)
IDNumeric value used as ID (join on DSS_METRIC_RESULTS.METRIC_NUM_VALUE)int(null)
LIBLabel of the statusvarchar(250)

Views

To extract the following information you can use this query in a Microsoft SQL Server environment:

SELECT
A.TABLE_NAME,
B.COLUMN_NAME,
B.DATA_TYPE,
B.CHARACTER_MAXIMUM_LENGTH

FROM
INFORMATION_SCHEMA.VIEWS A,
INFORMATION_SCHEMA.COLUMNS B

WHERE
A.TABLE_NAME LIKE 'CSV_%'
AND A.TABLE_NAME = B.TABLE_NAME

ORDER BY TABLE_NAME

CSV_BCRIT_STATUS

Provides access to statuses for all contexts and all Business Criteria (both Health Factors and Rule Compliance)

Column NameLabelColumn Type
CRITERION_IDID number of the criterionint(null)
CRITERION_NAMEName of the criterionvarchar(255)
CRITERION_STATUSCurrent status of the criterion (Low, Moderate, High, Very High Risk)varchar(250)
SNAPSHOT_IDID number assigned to the snapshotint(null)
SNAPSHOT_NAMEName assigned to the snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_BCRIT_VALUES

Provides access to grades for all contexts and all Business Criteria (both Health Factors and Rule Compliances)

Column NameLabelColumn Type
CRITERION_IDID number of the criterionint(null)
CRITERION_NAMEName of the criterionvarchar(255)
CRITERION_GRADECurrent grade (1-to-4 decimal grade) of the criterion as determined by the snapshot generation processfloat(null)
SNAPSHOT_IDID number assigned to the snapshotint(null)
SNAPSHOT_NAMEName assigned to the snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_DIAGDETAILS

Provides access to Quality Rule based Metric details, i.e., defect lists with associated values

Column NameLabelColumn Type
DIAG_IDCAST Quality Rule ID numberint(null)
DIAG_NAMECAST Quality Rule namevarchar(255)
OBJECT_IDID number of the object as assigned in the Analysis Serviceint(null)
OBJECT_NAMEName of the object as stored in the Analysis Servicevarchar(1000)
DIAG_VALUECAST Quality Rule optional numerical value (cf. description)float(null)
DIAG_OBJCAST Quality Rule optional reference to a participating object (cf. description)int(null)
DIAG_TEXTCAST Quality Rule optional text value (cf.  description)varchar(1000)
SNAPSHOT_IDID number assigned to the snapshotint(null)
SNAPSHOT_NAMEName assigned to the snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_DISTDETAILS

Provides access to Distribution-based Metric details, i.e., Category lists with associated values

Column NameLabelColumn Type
DIST_IDCAST distribution ID numberint(null)
DIST_NAMECAST distribution namevarchar(255)
CAT_IDCAST category ID numberint(null)
CAT_NAMECAST category namevarchar(255)
OBJECT_IDID number of the object as assigned in the Dashboard Serviceint(null)
OBJECT_NAMEName of the object as stored in the Dashboard Servicevarchar(1000)
DIST_VALUECAST distribution valuefloat(null)
SNAPSHOT_IDID number assigned to the snapshotint(null)
SNAPSHOT_NAMEName assigned to the snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_EXCEPTIONS

Provides access to the list of excluded objects for all Quality Rule- and Distribution-based Metrics

Column NameLabelColumn Type
DIAG_IDCAST Quality Rule ID numberint(null)
DIAG_NAMECAST Quality Rule namevarchar(255)
OBJECT_IDID number of the application/module as assigned in the Dashboard Serviceint(null)
OBJECT_NAMEName of the application/module as stored in the Dashboard Servicevarchar(255)
OBJECT_TYPEObject type as assigned in the Dashboard Serviceint(null)

CSV_MEASDETAILS

Provides access to Measure-based Metric details, i.e., measured values on Modules

Column NameLabelColumn Type
MEASURE_IDCAST metric ID numberint(null)
MEASURE_NAMECAST metric namevarchar(255)
MEAS_VALUECAST measure value (cf. metric description)float(null)
SNAPSHOT_IDID number assigned to the snapshotint(null)
SNAPSHOT_NAMEName assigned to the snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_METRIC_STATUS

Provides access to statuses for all Quality Rule-, Distribution- and Measure-based Metrics

Column NameLabelColumn Type
METRIC_IDCAST metric ID numberint(null)
METRIC_NAMECAST metric namevarchar(255)
METRIC_STATUSCurrent status of the metric (Low, Moderate, High, Very High Risk)varchar(250)
SNAPSHOT_IDID number assigned to the snapshotint(null)
SNAPSHOT_NAMEName assigned to the snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_METRIC_VALUES

Provides access to grades for all Quality Rule-, Distribution- and Measure-based Metrics

Column NameLabelColumn Type
METRIC_IDCAST metric ID numberint(null)
METRIC_NAMECAST metric namevarchar(255)
METRIC_GRADECurrent grade of the metric as determined by the snapshot generation processfloat(null)
SNAPSHOT_IDID number assigned to the snapshotint(null)
SNAPSHOT_NAMEName assigned to the snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_OBJ_MAPPING

Provides access to object ID mapping between Dashboard and Analysis Services

Column NameLabelColumn Type
FULL_NAMEFull name of object as stored in the Dashboard Servicevarchar(1000)
LOCAL_OBJECT_IDID number assigned to the object in the Analysis Serviceint(null)
LOCAL_SITE_NAMEName assigned to the Analysis Service in the Dashboard Servicevarchar(255)
LOCAL_SITE_IDID number assigned to the Analysis Service in the Dashboard Service and the Analysis Serviceint(null)
CENTRAL_OBJECT_IDID number assigned to the object in the Dashboard Serviceint(null)

CSV_OBJECTS_STATUSES

Provides information about the status of an object in the Dashboard Service schema:

  • Name
  • Module Name and ID the object belongs to
  • Snapshot Name and ID the object belongs to
  • Information about the previous snapshot ID and Name the object may be present in
  • The Status of an object in the current snapshot
  • Whether the object is considered to be an artifact or not
  • Information about Cost Complexity and the Technology ID the object is classed as

Column Name

Label

Column Type

Notes

OBJECT_ID

ID of object as stored in the Dashboard Service

int NULL


OBJECT_NAME

Name of the object as stored in the Dashboard Service

varchar 1000


MODULE_ID

ID number of the module the object belongs to

int NULL


MODULE_NAME

Name number of the module the object belongs to

varchar 255


SNAPHOT_ID

ID number of the current snapshot the object belongs to

int NULL

In CAST AIP ≥ 8.3.3, the column SNAPSHOT_ID has been added to correct the typographical error on the existing column name SNAPHOT_ID. The column SNAPHOT_ID will be deprecated in a future release: please update any scripts or queries that use the column SNAPHOT_ID.
SNAPSHOT_IDID number of the current snapshot the object belongs toint NULL
SNAPSHOT_NAMEName of the current snapshot the object belongs tovarchar 255
PREVIOUS_SNAPSHOT_IDID number of the previous snapshot the object belonged to (-1 if not)int NULL
PREVIOUS_SNAPSHOT_NAMEName of the previous snapshot the object belonged tovarchar 255
OBJECT_STATUS

Status of the object in the current snapshot:

  • Added
  • Deleted
  • Updated
  • Unchanged
varchar 9
OBJECT_IS_ARTIFACTWhether the object is considered to be an artifact or notvarchar 15
OBJECT_COST_COMPLEXITY-float NULL
OBEJCT_TECHNO_TYPE_IDID of the Technology the object is classed asint NULLIn CAST AIP ≥ 8.3.3, the column OBJECT_TECHNO_TYPE_ID has been added to correct the typographical error on the existing column name OBEJCT_TECHNO_TYPE_ID. The column OBEJCT_TECHNO_TYPE_ID will be deprecated in a future release: please update any scripts or queries that use the column OBEJCT_TECHNO_TYPE_ID.
OBJECT_TECHNO_TYPE_IDID of the Technology the object is classed asint NULL

CSV_ORG_TREE

Provides a description of the Organization Tree (if uploaded) - see Background Facts and Business Value Metric upload.

Column NameLabelColumn Type
ORG_IDID number of the organizationint(null)
ORG_NAMEName of the organizationvarchar(255)
TEAM_IDID number of the teamint(null)
TEAM_NAMEName of the teamvarchar(255)
DEV_IDID number of the developerint(null)
DEV_NAMEName of the developervarchar(255)
MODULE_IDID number of the moduleint(null)
MODULE_NAMEName of the modulevarchar(255)
SNAPSHOT_IDID number of the Snapshotint(null)
SNAPSHOT_NAMEName of the Snapshotvarchar(255)

CSV_PORTF_TREE

Provides a description of the Portfolio Tree (System, Application, Module, Snapshot)

Column NameLabelColumn Type
SYST_IDID number of the systemint(null)
SYST_NAMEName of the systemvarchar(255)
APP_IDID number of the applicationint(null)
APP_NAMEName of the applicationvarchar(255)
MODULE_IDID number of the moduleint(null)
MODULE_NAMEName of the modulevarchar(255)
SNAPSHOT_IDID number of the Snapshotint(null)
SNAPSHOT_NAMEName of the Snapshotvarchar(255)
SNAPSHOT_DATESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_QUALITY_TREE

Provides a description of the Quality Rules in the Assessment Model in hierarchical form

Column NameLabelColumn Type
B_CRITERION_IDBusiness criterion IDint(null)
B_CRITERION_NAMEBusiness criterion namevarchar(255)
T_CRITERION_IDTechnical criterion IDint(null)
T_CRITERION_NAMETechnical criterion namevarchar(255)
T_WEIGHTTechnical weightfloat(null)
METRIC_IDMetric IDint(null)
METRIC_NAMEMetric namevarchar(255)
M_WEIGHTMetric weightfloat(null)
T_CRITCritical contribution of Technical Criterion: 1=true, 0=falseint(null)
M_CRITCritical contribution of Quality Rule, Distribution, Measure: 1=true, 0=falseint(null)

CSV_QUANTITY_TREE

Provides a description of the quantity metrics in the Assessment Model

Column NameLabelColumn Type
FOLDER_NAMEName of the quantity foldervarchar(255)
FOLDER_IDID of the quantity folderint(null)
METRIC_NAMEMetric namevarchar(255)
METRIC_IDMetric IDint(null)

CSV_QUANTITY_VAL

Provides access to quantity values for all quantity metrics

Column NameLabelColumn Type
MEASURE_IDCAST metric ID numberint(null)
MEASURE_NAMECAST metric namevarchar(255)
MEAS_VALUECAST measure value (cf. metric description)float(null)
SNAPSHOT_IDID number of the Snapshotint(null)
SNAPSHOT_NAMEName of the Snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(1000)

CSV_TCRIT_STATUS

Provides access to statuses for all contexts and all Technical Criteria

Column NameLabelColumn Type
CRITERION_IDID number of the criterionint(null)
CRITERION_NAMEName of the criterionvarchar(255)
CRITERION_STATUSCurrent status of the criterion (Low, Moderate, High, Very High Risk)varchar(250)
SNAPSHOT_IDID number of the Snapshotint(null)
SNAPSHOT_NAMEName of the Snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_NAMESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_TCRIT_VALUES

Provides access to grades for all contexts and all Technical Criteria

Column NameLabelColumn Type
CRITERION_IDID number of the criterionint(null)
CRITERION_NAMEName of the criterionvarchar(255)
CRITERION_GRADECurrent grade of the criterion as determined by the snapshot generation processfloat(null)
SNAPSHOT_IDID number of the Snapshotint(null)
SNAPSHOT_NAMEName of the Snapshotvarchar(255)
CONTEXT_IDThe id of the context you’re looking at (the id of the module, the application, the system, the team, the developer)int(null)
CONTEXT_NAMEThe name of the context you’re looking at (the id of the module, the application, the system, the team, the developer)varchar(255)
SNAPSHOT_NAMESnapshot generation date in the format MM/DD/YYYYdatetime(null)

CSV_VIOLATION_STATUSES

Provides information about the status of a violation in the Dashboard Service schema:

  • Name
  • Module Name and ID the object belongs to
  • Snapshot Name and ID the object belongs to
  • Information about the previous snapshot ID and Name the object may be present in
  • The Status of an object in the current snapshot
  • Whether the object is considered to be an artifact or not
  • Information about Cost Complexity and the Technology ID the object is classed as

Column Name

Label

Column Type

Notes

DIAG_ID

ID number of the rule that has been violatedint NULL
DIAG_NAMEName of the rule that has been violatedvarchar 255
OBJECT_IDID number of the object that is violating the ruleint NULL
OBJECT_NAMEName of the object that is violating the rulevarchar 1000
SNAPHOT_IDID number of the current snapshot which the object belongs toint NULLIn CAST AIP ≥ 8.3.3, the column SNAPSHOT_ID has been added to correct the typographical error on the existing column name SNAPHOT_ID. The column SNAPHOT_ID will be deprecated in a future release: please update any scripts or queries that use the column SNAPHOT_ID.
SNAPSHOT_IDID number of the current snapshot which the object belongs toint NULL
SNAPSHOT_NAMEName of the current snapshot which the object belongs tovarchar 255
VIOLATION_STATUS

Status of the violation in the current snapshot:

  • Added
  • Deleted
  • Updated
  • Unchanged
varchar 9