Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : setShort procedure
 

setShort procedure

Converts data to the JMS short data type in a MapMessage.

Syntax

PROCEDURE setShort.
DEFINE INPUT PARAMETER itemName AS CHARACTER.
DEFINE INPUT PARAMETER value AS INTEGER.

Applies to

Message objects

Notes

The server returns a NumberFormatException message for a value overflow.

See also

createMapMessage procedure, setBoolean procedure, setByte procedure, setBytesFromRaw procedure, setChar procedure, setDate procedure, setDateTime procedure, setDateTime-TZ procedure, setDouble procedure, setFloat procedure, setInt procedure, setLong procedure, setLongString procedure, setShort procedure, setString procedure, getMapNames function, getItemType function, getBytesToRaw function, getChar function, getDate function, getDateTime function, getDateTime-TZ function, getDecimal function, getInt function, getLogical function, getLongString function, getLongStringCP function
For more information, see the MapMessage.