Nonstop Database, HiRDB Version 9 System Operation Guide
(1) Determining the RDAREA name from an RDAREA number
The following shows how to determine the RDAREA name from the RDAREA number that is output in the resource information.
- Procedure
- If the output information is in little endian format, convert it to big endian format. Suppose that 03000000 is output as the RDAREA number. Convert it to big endian format as shown in the following:
The RDAREA number becomes 3.
- Because the RDAREA number that is output in the resource information is in hexadecimal, convert it to decimal.
- Use the pddbls command to determine the RDAREA name that corresponds to the RDAREA number.
(2) Determining the index name from an index number
The following shows how to determine the index name from the index number that is output in the resource information.
- Procedure
- If the output information is in little endian format, convert it to the big endian format. Suppose that 0a010300 is output as the index number. Convert it to big endian format as shown in the following:
The index number becomes 3010a.
- Because the index number that is output in the resource information is in hexadecimal, convert it to decimal.
- Retrieve the INDEX_ID column of the SQL_INDEXES dictionary table and determine the index name that corresponds to the index number.
For details about how to retrieve the SQL_INDEXES dictionary table, see the HiRDB Version 9 UAP Development Guide.
(3) Determining the table name (view table name) from a table number (view table number)
The following shows how to determine the table name (view table name) from the table number (view table number) that is output in the resource information.
- Procedure
- If the output information is in little endian format, convert it to big endian format. Suppose that 7c000200 is output as the table number. Convert it to big endian format as shown in the following:
The table number becomes 2007c.
- Because the table number (view table number) that is output in the resource information is in hexadecimal, convert it to decimal.
- Retrieve the TABLE_ID column of the SQL_TABLES dictionary table and determine the table name (view table name) that corresponds to the table number (view table number).
For details about how to retrieve the SQL_TABLES dictionary table, see the HiRDB Version 9 UAP Development Guide.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.