MQSERIES_BACK(3) 1 MQSERIES_BACK(3)
mqseries_back - MQSeries MQBACK
SYNOPSIS
void mqseries_back (resource $hconn, resource &$compCode, resource &$reason)
DESCRIPTION
The mqseries_back(3) (MQBACK) call indicates to the queue manager that all the message gets and puts that have occurred since the last
syncpoint are to be backed out. Messages put as part of a unit of work are deleted; messages retrieved as part of a unit of work are rein-
stated on the queue.
Using mqseries_back(3) only works in conjunction with mqseries_begin(3) and only function when connecting directly to a Queueu manager.
Not via the mqclient interface.
PARAMETERS
o $hConn
-Connection handle.This handle represents the connection to the queue manager.
o $compCode
-Completion code.
o $reason
-Reason code qualifying the compCode.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
mqseries_back(3) example
<?php
mqseries_back($conn, $comp_code, $reason);
if ($comp_code !== MQSERIES_MQCC_OK) {
printf("CompCode:%d Reason:%d Text:%s<br>
", $comp_code, $reason, mqseries_strerror($reason));
}
?>
NOTES
Note
mqseries_back(3) will not function when using MQSeries Client to connect to a Queueu Manager.
SEE ALSO
mqseries_conn(3), mqseries_connx(3), mqseries_begin(3).
PHP Documentation Group MQSERIES_BACK(3)