| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        INPUT
         | 
     ||
| 
        
        hstmt
         | 
      
        
        long
         | 
      
        
        The statement handle of the currently active statement.
         | 
     
| 
        
        pMemTree
         | 
      
        
        long
         | 
      
        
        The tree to be used for any memory allocation.
         | 
     
| 
        
        hValExpList
         | 
      
        
        long
         | 
      
        
        List of input arguments to be used by the function. This list is traversed and accessed using the OpenAccess SDK SQL engine functions dam_getFirstValExp, dam_getValueTypeOfExp, and dam_getNextValExp.
         | 
     
| 
        
        RETURN
         | 
     ||
| 
        
        long
         | 
      
        
        valid DAM_HVAL - create an output value using the dam_createVal function.
        
       
        0 - on failure
         | 
     |