Preferences of the Design and Generated Code Structure views, and the Screen Emulator

These preferences, titled Pattern Driven Programming, apply to the display in the Design and Generated Code Structure views, and the Screen emulator. A preference also applies to the generation of Database Blocks.

Note: The Design view is deprecated. It will be removed in a future version.
Parameterization of the Generated Code Structure
The following options are available:
  • The option Always open the Generated Code Structure view when opening the PDP editor is selected by default. The nodes view systematically opens when you open the PDP editor, whatever the perspective. If this option is not selected, the nodes view does not automatically open when you open the PDP editor. So if you close this view in a perspective, it will no longer be open in this perspective. To display it, you will have to select if from Window > Show view.
  • The option Hide nodes owning the property "hidden" is selected by default. These nodes are created when the micropatterns that retrieve the parameterized operators in Macros are expanded. These nodes are then hidden by default in order not to clutter the nodes tree. However, you can display them to detect problems, if any.
  • The option Display the long labels of the nodes is selected by default. The nodes view then systematically displays the titles of the generated and specific functions and subfunctions. These titles are extracted from the comment that precedes the function or subfunction, without any irrelevant characters.
  • The option Allow the generation to override generated files from another design is selected by default. It applies to the generation of Database Blocks. With this option, a Database Block can then be generated, even if it has the same external name as another Database Block that is already generated in the location. In this case, after the new generation, the former file generated from the other Database Block is automatically removed whereas the new generated file is nested under the new Database Block.
Design view font
You can select a character font in the list.
Character to use to better visualize the need for regeneration in the PDP Editor
You can select a special character (> # ~ + !) in the list. The default character is >.
This character indicates that the generated COBOL code is not synchronized with its design. It is displayed at two levels:
  • The title of the PDP COBOL editor tab,
  • The Design Explorer view, when you expand the link between the design file and the generated file. The character is displayed at the beginning of the generated file name after the icon.

If a desynchronization is detected, a new generation of the instance is recommended.

Screen Emulator
These preferences apply to the Screen emulator that opens when you click Open the emulator on the selected Screen or Open the emulator on the selected Screen with colors in the toolbar of the Screen design editor.
  • You can indicate a specific listening port number in Port number. You can then, for example, associate a port number to a workspace. The default value is 8889.
  • The Use external client option is not selected by default. So, Screens are simulated through the internal emulator of the Software Delivery Platform. However, if you select this option, you can use an external client such as IBM® Personal Communication. You must close and open Rational® Programming Patterns again to take the new value of the preference into account.

    In the internal emulator of the Software Delivery Platform, you can select one of the following sizes for the simulation screen: 24x80, 32x80, 43x80, or 27x132.


Feedback