Home | Previous Page | Next Page   Descriptor Function Reference > Accessor Functions >

mi_qual_setoutput()

The mi_qual_setoutput() function sets a constant-argument value for a UDR.

Syntax

void 
mi_qual_setoutput(MI_AM_QUAL_DESC *qualDesc, mi_integer n,
   MI_DATUM value, mi_boolean nullflag);
qualDesc
points to the qualification descriptor.
n
is always set to 0 to indicate the first and only argument that needs a value.
value
passes the output value in a MI_DATUM data structure.
null_flag
is MI_TRUE if value is NULL.

Usage

If a function declaration includes an out parameter, the function call in the WHERE clause includes a corresponding placeholder, called a statement-local variable (SLV). If the mi_qual_needoutput() function detects the presence of an slv, the access method calls the mi_qual_setoutput() function to set a constant value for that SLV.

For examples of OUT parameters and SLVs, refer to Runtime Values as Arguments.

Return Values

None

Related Topics

See the description of accessor function mi_qual_needoutput().

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]