This view displays the design of the generated
instance whose code is currently displayed with the PDP COBOL editor and selected.
You can modify this design in the view and generate the instance again
to take these modifications into account.
To see the content of this view, you must have
generated a program (Program, Screen, or Server). Then, in the
Design
Explorer view, right-click the corresponding
.cbl file,
which contains the generated COBOL. Select .
The COBOL editor must remain open and currently selected.
The
design elements are constituted of the attributes and resources of
the instance. You can modify them at various levels:
- Directly in this view. However, you cannot carry out all the update
actions available from the editors. Only a subset of these actions
is available.
- You can overwrite the values that are displayed in the Value column.
If you change a value here, it automatically modifies the corresponding
field in the editor and the COBOL code.
When you update an instance
(a Data Structure or a Macro for example) called in the design, the
editor of the modified instance opens in the background of the editor
area with an asterisk. This symbol shows that the instance has been
modified. An editor opens for each updated instance. You must explicitly
save each instance.
Note: If the field has a limited number of
values, a list displays all the values that you can select.
- You can also call new resources by selecting a category and then
right-clicking. With the contextual menu, you can add resources that
are adapted to the category.
- In the corresponding tab of the editor, by right-clicking and
selecting Open editor. Any modification that
is carried out in the editor is automatically reflected in the view
and in the COBOL code.
- In the COBOL code that is viewed through the PDP COBOL editor. Any modification
in the design lines of the COBOL code is automatically taken into
account in the view and the editor.
Description of the view
This
view shows a hierarchical view of the design elements.
Note: The
possible values of the fields that are displayed in this view are
listed and explained in the help that is associated with the corresponding
tab of the editor. Under each hierarchical level, links point to this
help.
The Keywords category is shown
only if at least one keyword is present in the Keywords tab
of the instance. In the view, you only can change the keyword names.
To add keywords, you must open the editor by right-clicking anywhere
in the view and selecting Open editor. You
can then add keywords in the Keywords tab.
The Attributes category
contains the same information as the Definition tab
of the instance. You can modify the values in the view, or in the
editor. To open the editor, right-click anywhere in the view, except
on a called instance line, and select Open editor.
The other tree categories represent the Program resources:
- Input files, Output files, Input/Output files,
and Reports represent the external resources
of the Program. These categories contain the same information as the -CD
Lines tab.
- Working files and Working data represent
the internal resources that are called in the WORKING-STORAGE
SECTION.
- Macros displays the same information as
the -CP Lines tab.
The possible values of the Program Attributes are
explained in the link that points to the Program Definition tab.