TSSH gate, REWRITE function
This function updates the specified item in an existing queue. The read cursor is unchanged.
Input Parameters
- FMH
- indicates whether the data contains an FMH.
- Values for the parameter are:
- NO
- YES
- ITEM_DATA
- is the address and length of the item being written.
- ITEM_NUMBER
- is the number of the item to be updated.
- QUEUE_NAME
- is the name of the queue being created or appended to.
- SUSPEND
- indicates whether or not the request will be suspended if there is insufficient auxiliary storage to satisfy the request. This option is ignored if the queue is in main storage.
- Values for the parameter are:
- NO
- YES
- POOL_TOKEN
- Optional Parameter
- is a token for the shared TS pool.
- TRANSACTION_NUMBER
- Optional Parameter
- is the 4-byte transaction number (in packed-decimal format).
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- INSUFFICIENT_STORAGE
- INVALID_LENGTH
- INVALID_QUEUE_NAME
- IO_ERROR
- ITEM_NOT_FOUND
- QUEUE_NOT_FOUND
- SERVER_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- TOTAL_ITEMS
- is the total number of items in the queue on completion of the operation.