Remove Keystore File Entry (RMVCKMKSFE)

The Remove Keystore File Entry (RMVCKMKSFE) command removes a keystore file entry from a keystore file.

For more information on keystore files, refer to the Cryptographic services key management section of the Security category in the IBM Systems Information Center at http://www.ibm.com/systems/infocenter/.

Restrictions:

Parameters

Keyword Description Choices Notes
KEYSTORE Keystore file Qualified object name Required, Positional 1
Qualifier 1: Keystore file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
RCDLBL Record label Character value Required, Positional 2

Keystore file (KEYSTORE)

Specifies the keystore file to use.

This is a required parameter.

Qualifier 1: Keystore file

name
Specify the name of the keystore file.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is searched.
name
Specify the name of the library to search for the file.

Record label (RCDLBL)

Specifies the label of a key record in the specified keystore file.

This is a required parameter.

character-value
Specify the key record label. The label is 32 characters and may contain any alphanumeric characters.

Examples

RMVCKMKSFE   KEYSTORE(MYLIB/MYKEYSTORE)  RCDLBL('Byllesby')

This command removes the keystore file entry with a label of Byllesby in keystore file MYKEYSTORE in library MYLIB.

Error messages

*ESCAPE Messages

CPF3CF2
Error(s) occurred during running of &1 API.
CPF9872
Program or service program &1 in library &2 ended. Reason code &3.
CPF9D88
An error occurred during exit program post-processing.
CPF9D89
An error occurred during exit program pre-processing.
CPF9D8F
Keystore record was not deleted due to an exit program cancel.
CPF9D9F
User not authorized to key store file.
CPF9DA0
Error opening key store file.
CPF9DA1
Key record not found.
CPF9DA5
Key store file not found.
CPF9DB3
Qualified keystore file name is not valid.
CPF9DB6
Record label not valid.
CPF9DB9
Error occured deleting record from key store.