Return Individual Parameters

After you have done all of your processing, to return any individual parameters to the calling program, use one of the following.:

xcall MIAMEX, MX_XCBDATAX, xcbadr, xcbput, <parm#>, <expression>

XPUTARG <parm#>,<expression>

Both methods are supported, but as of Build 903, the XPUTARG statement is preferred (and is more efficient). Note that unlike the retrieve parameter statements where you must specify actual variables to received the parameters), the "put" parameter statements allow you to specify a variable or an expression.