FCDN gate, CONNECT_DSNB function

This function connects a file control table entry (FCTE) to a data set name (DSN) block. If the DSN block does not already exist, DFHFCDN creates a new block before connecting it.

Input Parameters

CATALOG_CONNECTION
Values for the parameter are:
  • YES
  • NO
DSNAME
The 44-character name of the data set.
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
  • FILE_NOT_CLOSED
  • FILE_NOT_DISABLED
The following value is returned when RESPONSE is INVALID:
  • INVALID_TOKEN
The following values are returned when RESPONSE is DISASTER:
  • CATALOG_WRITE_FAILED
  • GETMAIN_FAILED
  • TM_ADD_FAILED
  • TM_LOCATE_FAILED
  • TM_UNLOCK_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_FCDNconnect_dsnb.html | Timestamp icon Last updated: Monday, 5 June 2017