Receiving data from the partner transaction
The RECEIVE command is used to receive data from the connected partner.
T he rows in the state tables for the RECEIVE command show the EIB fields that should be tested after issuing a RECEIVE command. As well as showing which field should be tested, the state tables also shows the order in which the tests should be made. Note that you should always test for RESP values.
The transaction whose side of the conversation is in receive state cannot change to send state , but can request a change of direction by using the ISSUE SIGNAL command. This causes the SIGNAL condition to be raised in the partner transaction the next time it issues a SEND, RECEIVE, or CONVERSE command. The application is responsible for determining the purpose of the SIGNAL condition and responding appropriately.