informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_fp_setarglen()

The mi_fp_setarglen() accessor function sets the length of an argument of a user-defined routine in its associated MI_FPARAM structure.

Syntax

Usage

The mi_fp_setarglen() function sets the length of the routine argument at position arg_pos in the MI_FPARAM structure that fparam_ptr references. The MI_FPARAM structure stores information about the lengths of routine arguments in the zero-based argument-length array. To set information for the nth argument, use an arg_pos value of n-1. For example, the following call to mi_fp_setarglen() sets the length for the third argument of the my_func() UDR, with which fparam1 is associated:

Return Values

None.

Related Topics

See the descriptions of the following functions: mi_fp_arglen(), mi_fp_setargisnull(), mi_fp_setargprec(), mi_fp_setargscale(), mi_fp_setargtype(), mi_fp_retlen(), and mi_fp_setretlen().


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved