Using queues
There is a special parameter for the queue API called the queue control structure, which is called TPQCTL in the API. It contains additional parameters and response information for the queue operations. Because of the heritage of the C programming language, each parameter must be paired with a flag value that indicates that the parameter is set. Otherwise, it is ignored. The most important parameters are as follows:
corridis a correlation identifier up to 32 characters long.TPQCORRIDmust be set inflagsto indicate the presence of this field.deq_timetells when the message should be dequeued from the queue. WhenTPQTIME_ABSis set inflags,deq_timecontainssecondssince the UTC epoch. WhenTPQTIME_RELis set inflags, the value is the number of seconds after enqueueing the message.replyqueueandfailurequeueare names of queues where a successful or failure response message will be stored.TPQREPLYorTPQFAILUREQmust be set in flags to indicate...