TSS GENREQ command results in a 'TSS0301I GENREQ FUNCTION FAILED, RETURN CODE = 4'

Document ID : KB000025181
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

Issuing a TSS GENREQ command results in the following message:

TSS0301I GENREQ FUNCTION FAILED, RETURN CODE = 4

Cause:

The DCDSN is pre-allocated.

Resolution: 

The DCDSN dataset must not be pre-allocated.

The allocation of the dataset is part of the TSS GENREQ command execution.

Pre-allocation will result in trying to allocate a duplicate dataset and therefore, the command fails with a:

TSS0301I GENREQ FUNCTION FAILED, RETURN CODE = 4

Additional Information:

Please refer to the CA Top Secret Command Function Guide in r15.0 or the below link in r16.0 for more details about the TSS GENREQ command.

https://docops.ca.com/ca-top-secret/16-0/en/using/issuing-commands-to-communicate-administrative-requirements/command-functions/genreq-functiongenerate-a-certificate-request