How to find the IIR Repository tables and fields being needed for my specific SQL query
search cancel

How to find the IIR Repository tables and fields being needed for my specific SQL query

book

Article ID: 18984

calendar_today

Updated On:

Products

Database Analyzer (IMS Tools) Mainframe Configuration Manager for IMS for z/OS IMS TOOLS - MISC Compress Data Compression (IMS Tools) Database Analyzer for IMS for z/OS Database Copier for IMS for z/OS Database Organizer for IMS for z/OS Mainframe Extended Terminal Manager (IMS Tools) High Performance Recovery for IMS for z/OS Database Organizer (IMS Tools) Mainframe Program Restart Manager for IMS for z/OS Secondary Index Builder for IMS for z/OS Secondary Index for IMS for z/OS DATABASE MANAGEMENT SOLUTIONS FOR IMS FOR Z/OS

Issue/Introduction

When an SQL query has been created to deliver specific information from the Datacom IIR Repository, the fields being needed for
this query (and the tables in which these fields can be found) need to be identified.

Resolution

These steps can be used to identify the IIR field names and table IDs being needed for a specific SQL query:

  1. Look into the reports of an IMS tools execution (e.g. DBA or DBO) to intentify the report fields being needed for your query

  2. Look to the IMS tools' report headers which belong to the selected report fields which have been identified in Step 1

  3. Go to the IIR User Guide, Appendix A "Table Information", and search all table descriptions for the report header you found in Step 2 (to identify the table containing the fields being needed for the SQL query)

  4. Use the tables "Description" column to identify the table field names of the fields being needed for your query