FCDN gate, DELETE_DSNB function
This function checks to ensure that the data set name (DSN) block can be deleted. If the deletion can proceed, the table manager is called to delete the DSN from the DSN index, and the storage domain is called to free the storage.
Input Parameters
- DSNAME
- The 44-character name of the data set.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- DSNB_INUSE
- DSNB_NOT_FOUND
- DSNB_LOCK_HELD
- The following values are returned when RESPONSE is DISASTER:
- CATALOG_DELETE_FAILED
- FIND_RETAINED_FAILED
- FREEMAIN_FAILED
- TM_DELETE_FAILED
- TM_QUIESCE_FAILED
- TM_UNQUIESCE_FAILED
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- Values for the parameter are:
- OK
- EXCEPTION
- DISASTER
- PURGED