MQ_BACK_EXIT - Back out changes

 


Exit providers can supply an  MQ_BACK_EXIT  function to intercept the  MQBACK  call. If the unit of work is being coordinated by an external unit-of-work manager,  MQ_BACK_EXIT  is also invoked in response to the application issuing the unit-of-work manager's back-out call.

 

Syntax


 MQ_BACK_EXIT  (pExitParms, pExitContext, pHconn, pCompCode,
pReason)

 

Parameters

The  MQ_BACK_EXIT  call has the following parameters.

 

pExitParms (PMQAXP) - input/output

Exit parameter structure.

 

pExitContext (PMQAXC) - input/output

Exit context structure.

 

pHconn (PMQHCONN) - input/output

Connection handle.

 

pCompCode (PMQLONG) - input/output

Completion code.

 

pReason (PMQLONG) - input/output

Reason code qualifying pCompCode.

 

C invocation

MQ_BACK_EXIT (&ExitParms, &ExitContext, &Hconn,
             &CompCode, &Reason);

The parameters passed to the exit are declared as follows:

PMQAXP    pExitParms;    /* Exit parameter structure */
PMQAXC    pExitContext;  /* Exit context structure */
PMQHCONN  pHconn;        /* Connection handle */
PMQLONG   pCompCode;     /* Completion code */
PMQLONG   pReason;       /* Reason code qualifying CompCode */