Previous Topic: Dependent Request Queue

Next Topic: INTQUE Across ROF Sessions

Request and Response Disciplines

It is important to understand that the terms request and response are arbitrary and have no absolute meaning. They serve only to provide a logical separation between types of messages that can be used to simplify communications between processes.

A process that issues the statement:

&INTREAD TYPE=RESP ARGS

can never receive messages sent to it by a command:

INTQUE TYPE=REQ

If you want to use INTQUE to send messages from one process to another, you must plan what you are going to send, make sure that the process you send a message to knows what to expect and is prepared to receive it, and that you coordinate the INTQUE and &INTREAD statements to make sure that they both expect the messages on the same request or response flow.