1. Home
  2. /
  3. Panel Help
  4. /
  5. Cross Application
  6. /
  7. Work with default and...

Work with default and replacements, Level keys (GDMD08901)


The purpose of default and replacements is to control program variables which need to be retrieved/set rather than being hard-coded constants in DC1 programs.

The default and replacement concept consists of a three-level grouping. Variables/key values are defined on this level, i.e. the third level.

If you add new key values, retrieval of the information must be manually implemented in those programs where it is relevant. Retrieval of the information is made via call to GDMR925.

Options

Selection fields

Group
Displays the selected group and its description.
Level
Displays the selected level of the group and its description.


Key
This column lists the existing level keys of the selected group.
Description
Displays the description of the related level key.

Work with default and replacements, Level keys (GDMD08904)


On this panel you add a new key to the selected group and level combination or change an existing key.

Group
Displays the selected group and its description.
Level
Displays the selected level of the group and its description.

Key

Field type
Enter a field type for the level key. Note: If a field type is defined on the level you are working with, then this field will be protected.

Valid values are:

Value Description
1 Alpha
2 Hex
3 Numeric
Field length
Enter a field length for th,e level key. Field length refers to the maximum length the key value can have. However if Field type is 2 (Hex), then there will be no validation of the length of the key value. Note: If a field type is defined on the level you are working with, then the field length will be protected.
Character value
Enter a value for the level key. This is the value that should be retrieved/allocated. The field can be changed. Note: A character value can only be entered if Field type is not set to 3 (Numeric).
Numeric value
Enter a value for the level key. This is the value that should be retrieved/allocated. The field can be changed. Note: A numeric value can only be entered if Field type is set to 3 (Numeric).


Work with default and replacements, Level keys, Copy (GDMD08905)

Group
Displays the selected group and its description.
Level
Displays the level of the selected group and its description.
Key
Displays the key(s) you selected to copy.


New key
Enter a code to identify the new key(s) that you are creating.


Work with default and replacements, Level keys, Deletion (GDMD08908)