WebSphere MQ Call Routines |
Syntax | |
Arguments | |
Example |
Syntax |
CALL MQSETPARMS(hData, hMap, rc, parm1 <,parm2, parm3, ...>); |
Numeric, output
Returns a Base SAS internal data descriptor handle. The handle that is generated can be used to reference the data when sending a message to a queue.
Numeric, input
Specifies a Base SAS internal map descriptor handle that is obtained from a previous MQMAP function call. If set to zero, no external defined mapping is assumed and therefore, all data is mapped according to Base SAS internal representations. That is, all numerics are mapped as doubles and all strings are mapped as character data of the current string length.
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.
Numeric or character, input
Specifies the Base SAS variables to set.
Example |
This example sets values of Base SAS variables into a message.
hData=0; rc=0; parm1=100; parm2=9999; parm3=9999.9999; parm4="This is a test."; CALL MQSETPARMS(hData, hMap, rc, parm1, parm2, parm3, parm4);
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.