Get Related Objects
get_related_objectsList views, indexes, triggers, and dependent objects for a table using SYSTOOLS.RELATED_OBJECTS. Requires IBM i 7.3 TR9, 7.4 TR3, or later.
Instructions
List views, indexes, triggers, and other objects that depend on a table, using SYSTOOLS.RELATED_OBJECTS. Requires IBM i 7.3 Technology Refresh 9, IBM i 7.4 Technology Refresh 3, or a later release.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| schema | No | Schema (library) that contains the table. Uses the system's default schema if not provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| count | No | ||
| error | No | ||
| success | Yes |