Generate Clustered Hash Table Key (QcstGenerateCHTKey) API


  Required Parameter Group:


  Service Program: QCSTCHT

  Default Public Authority: *USE

  Threadsafe: Yes

The Generate Clustered Hash Table Key (QcstGenerateCHTKey) API returns a universally unique key that can be used to store an entry into the clustered hash table.


Restrictions:

Authorities and Locks


Required Parameter Group

Key
OUTPUT; CHAR(*)

The receiver variable that receives the generated key. The size of this parameter must be at least equal to the length of key to generate parameter.

Length of key to generate
INPUT; BINARY(4)

The length of the key to be generated. This length must be equal to 16.

Connection handle
INPUT; CHAR(16)

This is an active connection handle for the clustered hash table server. It is obtained by calling the Connect Clustered Hash Table (QcstConnectCHT) API.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V5R2

[ Back to top | Cluster APIs | APIs by category ]