In the PDP Macro editor for dialog, screen or server, you find actions in the
menu of the Macro tags tree which are specific to the model selected
when you open the editor.
Create specific dialog subfunction
This choice
is active in the pop-up menu of the PDP Macro editor for a
dialog model only. You can create a subfunction from a tree tag with
a skeleton view or with no skeleton view. Right-click in the tags
tree and select Create specific dialog subfunction. It opens the Create a subfunction window in
which you can enter the characteristics of the subfunction. The type
of parameters which can be updated depends on the type of subfunction
selected in the Function choice field. When
all the parameters are completed, click OK . The tags tree displays the new subfunction before, after or in
place of the selected subfunction depending on what is specified in
the window. A new line is displayed in the Macro editor view for the
new subfunction.
Update parameters (dialog/screen or server specific)
This choice is active in the pop-up menu of the PDP Macro editor for the
dialog, screen or server model only. You can update the parameters
of a subfunction from a tree tag with a skeleton or with no skeleton
view. Right-click on a subfunction and select the Update
parameters choice. It opens the wizard which was used
to create the function/subfunction. In this wizard, you can modify
some of the parameters specific to the subfunction you have selected.
Important: Tags are very important for the structure
of a program. They are used to merge Macros, and to merge a Macro
with a program. So, if the parameters of the Macro have been modified,
the program must be generated again.
Insert specific code in a Macro (server model)
Details on these specific options are given in the reference
topics associated with this page.