Issuing a TSS GENREQ or EXPORT command results in the following message:
TSS0301I GENREQ/EXPORT FUNCTION FAILED, RETURN CODE = 4
Release: TOPSEC00200-16-Top Secret-Security
Component:
The DCDSN is pre-allocated.
The DCDSN dataset must not be pre-allocated.
The allocation of the dataset is part of the TSS GENREQ/EXPORT 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
Please refer to the Top Secret Command Function Guide in below link more details.