Recovery of partially-completed inquiries
The CAM copies onto queue CSQ4SAMP.B2.WAITING.n all the messages that it receives. It sets the fields of the message descriptor like this:
- Priority is determined by the type of message:
- For request messages, priority = 3
- For datagrams, priority = 2
- For reply messages, priority = 1
- CorrelId is set to the MsgId of the loan request message
- Other MQMD fields are copied from those of the received message
When an inquiry has been completed, the messages for a specific inquiry are removed from the waiting queue during answer processing. Therefore, at any time, the waiting queue contains all messages relevant to in-progress inquiries. These messages are used to recover details of in-progress inquiries if the program has to restart. The different priorities are set so that inquiry messages are recovered before propagations or reply messages.
Parent topic:
Credit application manager (CSQ4CVB2)
fg18590_