| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      ||
| 
        
        hstmt
         | 
      
        
        DAM_HSTMT
         | 
      
        
        The statement handle.
         | 
     
| 
        
        iColType
         | 
      
        
        int
         | 
      
        
        Identifies the column type. Use a bitwise OR ( | ) of the following flags to scan through columns that are in multiple categories:
        
       
        DAM_COL_IN_SCHEMA - list of all columns as defined in the schema database.
        
       
        DAM_COL_IN_RESULT - list of columns that are part of the result set.
        
       
        DAM_COL_IN_CONDITION - list of columns that are in the WHERE clause.
        
       
        DAM_COL_IN_USE - list of columns that are either part of the result or are in the WHERE clause.
         | 
     
| 
        
        OUT
         | 
      ||
| 
        
        piColCount
         | 
      
        
        int *
         | 
      
        
        Number of columns of the specified iColType.
         | 
     
| 
        
        RETURN
         | 
      ||
| 
        
        int
         | 
      
        
        Status of the function execution:
        
       
        DAM_SUCCESS - valid column count returned.
        
       
        DAM_FAILURE - Error due to invalid iColType.
         |