DFHFC5807 applid File OPEN failed. BACKUPTYPE attributes conflict with those currently defined for the VSAM data set. File 'filename' data set 'dsname'.
Explanation
An attempt to open file filename for update processing, (SERVREQ=ADD, DELETE or UPDATE set), against the VSAM base data set dsname has failed. This is because CICS has detected an attribute conflict between the opening CICS resource definition and the base data set's DSNB which was already opened for update. A FILE resource definition with a BACKUPTYPE=STATIC cannot be opened against a DSNB which already has or had a FILE resource definition opened against it with BACKUPTYPE=DYNAMIC. Similarly, a FILE resource definition with a BACKUPTYPE=DYNAMIC cannot be opened against a DSNB which already has or had a resource definition opened against it with BACKUPTYPE=STATIC.
A CICS base data set's DSNB cannot change BACKUPTYPE midway through a CICS run. In order to do this, you must destroy the DSNB and create a new one. There are three ways of doing this:
-
CEMT SET DSNAME REMOVE
-
EXEC CICS SET DSNAME REMOVE
-
Terminate CICS and restart with a cold start.
If you respecify a DSNB with BACKUPTYPE=DYNAMIC, where previously it was specified with RECOVERY=NONE or BACKOUTONLY and BACKUPTYPE=STATIC, no forward recovery logging exists for the time that the DSNB had RECOVERY=NONE or BACKOUTONLY specified. Therefore you should take a backup copy of the data set before the change. This ensures that the data set can be recovered to a consistent point should a failure occur.
System action
The file open for data set dsname fails. CICS continues processing but the file is closed and its state set to UNENABLED. Any transaction attempting to use this file is sent a NOTOPEN condition.
User response
Determine the correct values for the BACKUPTYPE and RECOVERY attributes, and if necessary, modify the resource definition for the file.
Alternatively, remove the old DSNB as already described and reattempt the open.
Module
XMEOUT parameters/Message inserts
- applid
- filename
- dsname
Destination
Console