At the item level, you can display the module assignment of a workspace or the items that reside upon it. You can also programmatically obtain the containing-module of an item.
The module hierarchy shown in the Inspect workspace represents only the network of references to module names found in the
Directly-required-modulesattributes of the Module Information system tables.
In this module hierarchy,
module-a is the top-level module.
table to display the Module Information system table for the module.
describe to describe the module by using the Describe facility.
hide to hide the short representation of the module in the hierarchy.
For example, if you show the workspace hierarchy for G2 GUIDE, you see that the
UILmodule is directly required by five other modules. However, G2 displays
UIL's directly required modules only once, to the far left.
Displaying Module Information System Tables
You can use Inspect to display short representations of the Module Information system tables of all loaded modules.
Main Menu > Inspectand enter the following command:
In this Inspect workspace, the Module Information whose short representation does not identify a module is associated with the top-level module.
Displaying the Module Assignment of Items
If an item resides upon a workspace that is assigned to a module, you can display that module assignment.
describeto describe the item, using the Describe facility. If the item resides upon a workspace that is assigned to a module, its description includes a line such as:
Delete Workspaceto close the item description.
Displaymenu option reveals its module assignment, which is also available in the
Module-assignmentattribute of the workspace attribute table.