CHOOSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
DBLOOKUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
DBQUERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
DDEQUERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
EXTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
GETANDSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
GETDIRECTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
GETLOCALE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
GETFILENAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
GETPARTITIONNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
GETRESOURCEALIAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
GETRESOURCENAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
GETTXINSTALLDIRECTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
INDEXABS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
LASTERRORCODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
LASTERRORMSG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
LOOKUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
MEMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
SEARCHDOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
SEARCHUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
SORTDOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
SORTUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
UNIQUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Chapter 15. Math and statistics functions . . . . . . . . . . . . . . . . . . . . 143
ABS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
ACOSINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
ASIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
ATAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
ATAN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
COSINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
COSINEH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
COUNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
COUNTABS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
EXP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
FACTORIAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
FROMBASETEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
INT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
LOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
LOG10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
MAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
MIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
MOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
POWER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
RAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
ROUND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
SIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
SINH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
SQRT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
SUM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
TAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
TANH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
TOBASETEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
TRUNCATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Chapter 16. Text functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
BCDTOTEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
COUNTSTRING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
CPACKAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
vi IBM WebSphere Transformation Extender: Functions and Expressions