Defining Placeholder Sets

In some cases it is useful to call compile commands or call procedure commands with various sets of parameters. For this Placeholder Sets can be defined. Within a compile rule a placeholder set can be assigned to a compile command, which contains variables defined in the placeholder set. The same can be done within call procedure rules. While running the compile rule the placeholder are replaced by the values defined in the given placeholder set. So the environment of a compile rule can easily be changed by changing the placeholder set. Placeholder Sets can be configured in Preference Pages, see below.

Preference Page

To define placeholder sets open command link Window > Preferences > BS2000 Remote IDE > Placeholder Sets. Here is the default content of the Placeholder Sets preference page:

In the Placeholder Sets preference page you define Placeholder Sets. You can add new Placeholder Sets by clicking Add Placeholder Set, edit a selected Placeholder Sets by clicking Edit Placeholder Set, or deleting a selected Placeholder Set by clicking Delete Placeholder Set. For the sake of convenience, if a Placeholder Set is selected when Add Placeholder Set is clicked, the selected Placeholder Set is shown as initial value in the dialog box which is opened to enter the new Placeholder Set. Here a name of the Placeholder Set must be specified, which is unique within the Placeholder Sets.

The Placeholder Set is a set of Placeholders with fixed name and value. In the dialog box opened to create or edit a Placeholder Set, you can define, edit or delete placeholder by clicking Add Placeholder, Edit Placeholder, or Delete Placeholder.

In the dialog box opened to create or edit a placeholder, you must define the name and the value of the placeholder. Optionally you can add a description of the placeholder.

Export and import

To save or to share Placeholder Sets with colleagues, you can export the Placeholder Sets to a local file by clicking Export.... For importing placeholder sets from an external file click Import (Replace)... to replace all definitions with those from the imported file, or Import (Add)... to merge the definitions from the imported file with already existing defintions.