The Design 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 in order 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:
- Directly in this view, by overwriting the values 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,
a Macro...) called in the design, the editor of the modified instance
opens up in the background of the editor area with an asterisk (the
symbol which 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 list of values, a drop-down list shows with
all the values you can select.
- In the corresponding tab of the editor, by right-clicking and
selecting Open editor. Any modification performed
in the editor is automatically reflected in the view and in the COBOL
code.
- In the COBOL code 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
The Design
View shows a hierarchical view of the design elements.
Note: The
possible values of the fields displayed in this view are listed and
explained in the help 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 has been indicated in the Keywords tab
of the instance. In the view, you can only change the names of the
keywords which have already been entered. To add keywords, you must
open the editor by right-clicking anywhere in the view and selecting Open
editor. You can then be able to 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, 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 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 which points to the Program Definition tab.