FCDN gate, DISCONNECT_DSNB function

This function breaks the connection between the file control table entry (FCTE) and the data set name (DSN) block. The DSN block remains even if no other FCT entries are connected to it. The request is rejected if uncommitted updates (retained locks) exist for the file.

Input Parameters

DECREMENT_FLAG
Optional Parameter
Flag to indicate that the number of files connected to the DSN block is reduced by one.
FILE_NAME
The 8-character name of the file.
TYPE_OF_CONNECTION
Specifies whether the connection is being made to a base or an object.
Values for the parameter are:
  • OBJ
  • BASE

Output Parameters

REASON
The following values are returned when RESPONSE is EXCEPTION:
  • FILE_NOT_FOUND
  • DO_NOT_REALLOCATE
  • DSNB_NOT_FOUND
  • FILE_NOT_CLOSED
  • FILE_NOT_DISABLED
The following value is returned when RESPONSE is INVALID:
  • INVALID_TOKEN
The following value is returned when RESPONSE is DISASTER:
  • CATALOG_DELETE_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
  • INVALID
  • PURGED


dfhs3_FCDNdisconnect_dsnb.html | Timestamp icon Last updated: Monday, 5 June 2017