The RECEIVE command is used to receive a message.
To receive JMS message properties from the message, use the optional working list argument.
The first column receives the property type, the second column receives the property name and the third column receives the property value. The property type is always S (String) for user-defined properties and J for special JMS properties.
The message identifier (MessageID) is returned in the JSMMSG field.
Syntax:
|
Example
RECEIVE #WRKLST(PRPTYP,PRPNME,PRPVAL)