DDDI gate, ADD_ENTRY function
The ADD_ENTRY function of the DDDI gate is used to add an entry to a directory.
Input Parameters
- DATA_TOKEN
- is the data to be associated with the entry name in the directory.
- DIRECTORY_TOKEN
- is the token for the directory.
- ENTRY_NAME
- is the address of the entry name. The length is fixed for the directory.
- SUSPEND
- indicates whether Storage Manager GETMAIN requests should be conditional or unconditional.
- Values for the parameter are:
- NO
- YES
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- DUPLICATE
- INSUFFICIENT_STORAGE
- The following values are returned when RESPONSE is INVALID:
- INVALID_DIRECTORY
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- DUPLICATE_DATA_TOKEN
- Optional Parameter
- is the data currently associated with the entry name if it already exists in the directory.