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.
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's "Description" column to identify the table field names of the fields being needed for your query