datatype specifies the data type of the argument. The sqltypes_td.h header file defines dtype_et as:typedef int dtype_et;
Valid values are defined by the dtype_en enumeration in sqltypes_td.h:
typedef enum dtype_en {
UNDEF_DT=0,
CHAR_DT=1,
VARCHAR_DT=2,
CLOB_REFERENCE_DT=34,
BYTE_DT=3,
VARBYTE_DT=4,
BLOB_REFERENCE_DT=33,
GRAPHIC_DT=5,
VARGRAPHIC_DT=6,
BYTEINT_DT=7,
SMALLINT_DT=8,
INTEGER_DT=9,
BIGINT_DT=36,
REAL_DT=10,
DECIMAL1_DT=11,
DECIMAL2_DT=12,
DECIMAL4_DT=13,
DECIMAL8_DT=14,
DECIMAL16_DT=37,
NUMBER_DT=38,
DATE_DT=15,
TIME_DT=16,
TIMESTAMP_DT=17,
INTERVAL_YEAR_DT=18,
INTERVAL_YTM_DT=19,
INTERVAL_MONTH_DT=20,
INTERVAL_DAY_DT=21,
INTERVAL_DTH_DT=22,
INTERVAL_DTM_DT=23,
INTERVAL_DTS_DT=24,
INTERVAL_HOUR_DT=25,
INTERVAL_HTM_DT=26,
INTERVAL_HTS_DT=27,
INTERVAL_MINUTE_DT=28,
INTERVAL_MTS_DT=29,
INTERVAL_SECOND_DT=30,
TIME_WTZ_DT=31,
TIMESTAMP_WTZ_DT=32,
UDT_DT=35,
FNC_DATATYPESETSIZE=39
} dtype_en;