1 | Qualified key store file name | Input | Char(20) |
2 | Record label | Input | Char(32) |
3 | Error code | I/O | Char(*) |
The Delete Key Record (OPM, QC3DLTKR; ILE, Qc3DeleteKeyRecord) API deletes a key record from a key store file.
For more information about cryptographic services key store, refer to Cryptographic Services Key Store.
The key store file from which the key record will be deleted. The first 10 characters contain the file name. The second 10 characters contain the name of the library where the key store file is located.
You can use the following special values for the library name.
*CURLIB | The job's current library is used to locate the key store file. If no library is specified as the current library for the job, the QGPL library is used. |
*LIBL | The job's library list is searched for the first occurence of the specified file name. |
The label of a key record in the specified key store file. The label will be converted from the job CCSID, or if 65535, the job default CCSID (DFTCCSID) job attribute to CCSID 1200 (Unicode UTF-16).
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Message ID | Error Message Text |
---|---|
CPF24B4 E | Severe error while addressing parameter list. |
CPF3C1E E | Required parameter &1 omitted. |
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
CPF9D9F E | Not authorized to key store file. |
CPF9DA0 E | Error occured opening key store file. |
CPF9DA1 E | Key record not found. |
CPF9DA5 E | Key store file not found. |
CPF9DB3 E | Qualified key store file name not valid. |
CPF9DB6 E | Record label not valid. |
CPF9DB9 E | Error occured deleting record from key store. |
Top | Cryptographic Services APIs | APIs by category |