Reply To: Return value of pdupoc_write TPS

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Return value of pdupoc_write TPS Reply To: Return value of pdupoc_write TPS

#57943
Jonathan Hamilton
Participant

    When you disposition the message as CONTINUE it is assumed that the procedure completed successfully.  If it didn’t you need to disposition as ERROR.

    A quirk/flaw, with QDX5.3, in the UPoC Write TPS is you cannot use OVER or PROTO dispositions to requeue a message when a failure is encountered.  If you need this type of functionality you have to set a flag in the metadata USERDATA field, disposition the message as CONTINUE from the UPoC Write TPS, then use a procedure in the Send OK TPS to validate if the protocol flag indicates successfull or not.  If the flag is not successfull, disposition the message with PROTO to requeue the message at the head of the queue.  We typically trigger an alert then shut the thread down to allow the error time to resolve, but that is optional.