DFH5128 S PROCESSING TERMINATED. {PRIMARY | SECONDARY} CSD ACCESSED BY ANOTHER USER AND COULD NOT BE SHARED. DDNAME: ddname
Explanation
An attempt to open the CSD has returned an error from VSAM because the data set is not available for the type of processing requested.
This usually means that:
-
An attempt has been made to open the CSD in non-RLS access mode, but the CSD is already being accessed from elsewhere in RLS access mode.
-
An attempt has been made to open the CSD in RLS access mode, but the CSD is already being accessed from elsewhere in non-RLS access mode.
-
An attempt has been made to open the CSD in non-RLS access mode and the CSD is already being accessed in non-RLS access mode, but the CSD cluster has been defined with SHAREOPTIONS that restrict its concurrent use.
System action
The command is not executed.
User response
You can change the access mode in which you are trying to open the CSD.
You must specify PARM=CSD(READONLY) if you wish to open a recoverable CSD in RLS access mode from the DFHCSDUP utility program.
Alternatively, wait until the CSD file is no longer being accessed in the conflicting access mode, or until it becomes available again in accordance with the SHAREOPTIONS rules defined for the cluster.
If the conflict is due to SHAREOPTIONS and LIST is the only command you want to execute, you can specify PARM=CSD(READONLY).
Module
Destination
SYSPRINT