If the programming language does not support bit operations, perform the following steps using integer arithmetic:
For example, if A is MQRO_EXCEPTION, test E for equality with each of the following to determine what was specified by the sender of the message:
The tests can be performed in whatever order is most convenient for the application logic.
The following pseudocode illustrates this technique for exception report messages:
A = MQRO_EXCEPTION B = Report/A C = B/8 D = B - C*8 E = D*A
Use a similar method to test for the MQRO_PASS_MSG_ID or MQRO_PASS_CORREL_ID options; select as the value A whichever of these two constants is appropriate, and then proceed as described above, but replacing the value 8 in the steps above by the value 2.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzak10380 |