| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      
        | 
      
        | 
     
| 
        
        hVal
         | 
      
        
        int64
         | 
      
        
        The value handle.
         | 
     
| 
        
        OUT
         | 
      
        | 
      
        | 
     
| 
        
        piType
         | 
      
        
        int
         | 
      
        
        The type of the value, which will be one of the following:
        
       
        • SQL_VAL_NULL
        
       
        • SQL_VAL_QUERY
        
       
        • SQL_VAL_COL
        
       
        • SQL_VAL_LITERAL
         | 
     
| 
        
        piXoType
         | 
      
        
        int
         | 
      
        
        The data type of the literal value. The value is contained in the Object returned by this method.
         | 
     
| 
        
        piValLen
         | 
      
        
        int
         | 
      
        
        The length of the value
         | 
     
| 
        
        phCol
         | 
      
        
        int64
         | 
      
        
        The handle to the column value. Use damex_describeCol to get more details.
         | 
     
| 
        
        phQuery
         | 
      
        
        int64
         | 
      
        
        The handle to the query value. Use dam_getQueryFirstResultValue and dam_getQueryNextResultValue to get the values returned from the subquery.
         | 
     
| 
        
        piValStatus
         | 
      
        
        int
         | 
      
        
        Status of the method call:
        
       
        DAM_SUCCESS – on success
        
       
        DAM_FAILURE – on failure
         | 
     
| 
        
        RETURN
         | 
      
        | 
      
        | 
     
| 
        | 
      
        
        Object
         | 
      
        
        If piType is SQL_VAL_LITERAL, then an Object that represents the value of the literal. The format of the data depends on the type of the literal. See Table 34.
         |