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/OSIMS TOOLS - MISCCompress Data Compression (IMS Tools)Database Analyzer for IMS for z/OSDatabase Copier for IMS for z/OSDatabase Organizer for IMS for z/OSMainframe Extended Terminal Manager (IMS Tools)High Performance Recovery for IMS for z/OSDatabase Organizer (IMS Tools)Mainframe Program Restart Manager for IMS for z/OSSecondary Index Builder for IMS for z/OSSecondary Index for IMS for z/OSDATABASE 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:
Look into the reports of an IMS tools execution (e.g. DBA or DBO) to intentify the report fields being needed for your query
Look to the IMS tools' report headers which belong to the selected report fields which have been identified in Step 1
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)
Use the tables "Description" column to identify the table field names of the fields being needed for your query