Previous Page | Next Page

WebSphere MQ Call Routines

MQGETPARMS



Retrieves values of Base SAS variables from a previous WebSphere MQ message that was received by an MQGET call.
Syntax
Arguments
Details
Example

Syntax

CALL MQGETPARMS(hMap, rc, parm1<,parm2, parm3, ...>);

Arguments

hMap

Numeric, input

Specifies a handle to a Base SAS internal map descriptor that is obtained from a previous MQMAP function call.

rc

Numeric, output

Provides the Base SAS return code from this function. If an error occurs, then the return code is nonzero. You can use the Base SAS function SYSMSG() to obtain a textual description of the return code.

parms

Numeric or character, output

Returns the Base SAS variables.

Note:    Initialize variables appropriately to guarantee that truncation does not occur.  [cautionend]


Details

This message is available until the next MQGET call is performed.


Example

This example gets values of Base SAS variables from a received message.

length parm1 parm2 parm3;
length parm4 $ 200;
rc=0;
CALL MQGETPARMS(hMap, rc, parm1, parm2, parm3, parm4);

Previous Page | Next Page | Top of Page