In order to create a new key set, you have to place the data structure kc_kset_str in the data area. The following table shows how the fields in the data structure are to be supplied with data.
Field name 1 | Meaning | ||
m | ks_name[8] | Name of the key set. | |
o | master | Specifies whether the key set is a master key set. A master key set contains all the key or access codes required to access the objects of the application (i.e. all key codes between 1 and the maximum value defined at KDCDEF generation in MAX KEYVALUE). | |
'Y' | The key set is a master key set. | ||
'N' | The key set is not a master key set. | ||
o | keys[4000]
| In this field you select the key or access codes to be assigned to this key set. Only keys up to the maximum value generated (MAX KEYVALUE) can be selected. |
1 | All fields of the kc_kset_str data structure that are not listed and all the fields that are not relevant to the operating system used are to be set to binary zero. The data structure is described in full in chapter "kc_kset_str - Key sets of the application". |