When issuing TSS LIST(acid) ARCHIVE INTO(data.set.name(memname)), the following error is received:
TSS1598E INTO DATASET PROCESSING FAILED - REASON CODE = nn
TSS0301I LIST FUNCTION FAILED, RETURN CODE = 8
First, check if the PDS (data.set.name) is in use when the ARCHIVE INTO command was issued. CA Top Secret needs exclusive control in order to write the
ARCHIVE member. So, if another task has the PDS, the TSS ARCHIVE INTO will fail. If this is not the case, please check the SYSLOG or the JOBLOG for the CA
Top Secret address space for WTO messages at the time the ARCHIVE INTO command failed that might explain the error further.
On a LIST or DELETE command with the keyword ARCHIVE specified, or on a COMPARE or MODEL command, the processing of the command failed.
ARCHIVE AFILE indicates the problem was in converting output from TSS LIST into the TSSCFILE format for processing.
INTO DATASET indicates a problem with the dataset specified in the INTO keyword, and
MODEL AMODL indicates a problem with the MODEL command processing.
The REASON CODE explanations are:
00 - A call to another program failed for unknown reasons. Check the SYSLOG or the JOBLOG for the TSS address space for WTO messages that might explain the
04 - No input buffer found. The input for ARCHIVE AFILE is output from TSS LIST, the input for INTO DATASET is the TSS commands to be written into the
dataset, and the input for MODEL AMODL is the TSSCFILE format version of the LIST output.
08 - No address found for module TSSCFJ
12 - For ARCHIVE AFILE, Storage Obtain failed. For INTO DATASET, user has no access to the specified dataset
16 - No command output buffer generated
20 - Empty buffer found for command file
For reason code 0, check WTO messages for more information.
For reason code 12 on INTO DATASET, correct the user's access or have another user issue the command.