skip to main content
SQL Engine parse tree methods for Java : damex_getNextUpdateSet
 

damex_getNextUpdateSet

This method returns the details of the next UPDATE column=value pair in an UPDATE query. Use it to navigate the UPDATE value list. Call this method after calling damex_getFirstUpdateSet.
long damex_getNextUpdateSet(
     long hquery,
     long phcol)
Table 289. Parameters for damex_getNextUpdateSet
Parameter
Type
Description
INPUT
hquery
long
The query handle. When using this method in regular IP mode, pass DAM_HSTMT for the query handle.
OUTPUT
phcol
long
The column handle of the column to be updated.
RETURN
long
The handle to the update value expression. Use damex_describeValExp to get details of the value. A 0 is returned at the end of the list.

See also

*damex_describeValExp
*damex_getFirstUpdateSet