Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

obj_type=KC_KSET

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.
For each key to be contained in the key set, the corresponding byte in the field must be set to 1; all the keys fields that are not selected must contain the value 0. If the key 10 is to be created, for example, keys[9] must contain the value 1 (note: the array begins with an index of 0).
A recovery buffer size of at least 16,500 bytes is recommended for 4,000 keys (MAX generation statement, RECBUF parameter).

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".