The Load Key Definitions routine loads a file of key definitions (DEFINE/KEY commands) into a specified key table. Format SMG$LOAD_KEY_DEFS key-table-id ,filespec [,default-filespec] [,flags]
1 – Returns
OpenVMS usage:cond_value type: longword (unsigned) access: write only mechanism: by value
2 – Arguments
key-table-id OpenVMS usage:identifier type: longword (unsigned) access: read only mechanism: by reference Specifies the key table into which you are loading key definitions. The key-table-id argument is the address of an unsigned longword that contains the key table identifier. The key table identifier is returned by SMG$CREATE_KEY_TABLE. filespec OpenVMS usage:char_string type: character string access: read only mechanism: by descriptor String containing the file specification for the file of DEFINE/KEY commands. The filespec argument is the address of a descriptor pointing to the file specification. default-filespec OpenVMS usage:char_string type: character string access: read only mechanism: by descriptor String containing the default file specification for the file of DEFINE/KEY commands. The default-filespec argument is the address of a descriptor pointing to the default file specification. If omitted, the null string is used. flags OpenVMS usage:mask_longword type: longword (unsigned) access: read only mechanism: by reference Optional bit mask that specifies whether filespec is to be treated as a logical name. The flags argument is the address of an unsigned longword that contains the flag. If set, flags specifies that filespec should be translated, but if this is not possible, that the null string be used.