MSMQ Call Routines |
Syntax | |
Arguments | |
Details | |
Example |
Syntax |
CALL MSMQGETPARMS(hMap, rc, parm1 <,parm2, parm3, ...>); |
Numeric, input
Specifies the SAS internal map descriptor handle that is obtained from a previous MSMQMAP function call.
Numeric, output
Provides the return code from the CALL routine. If an error occurs, then the return code is nonzero. You can use the SAS function SYSMSG() to obtain a textual description of the return code.
Numeric or character, input
Specifies one or more parameters that are used to define the values of SAS variables in a message. Initialize the variables appropriately to guarantee that truncation of the returned values does not occur.
Details |
This message is available until the next MSMQRECEIVEMSG call is performed.
Example |
This example gets values of SAS variables from a received message.
length parm1 parm2 parm3; length parm4 $ 200; rc=0; CALL MSMQGETPARMS(hMap, rc, parm1, parm2, parm3, parm4);
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.