| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        INPUT
         | 
      
        | 
      
        | 
     
| 
        
        sqlip_hstmt
         | 
      
        
        SQLIP_HSTMT
         | 
      
        
        Statement handle.  | 
     
| 
        
        OUTPUT
         | 
      
        | 
      
        | 
     
| 
        
        piNumResRows
         | 
      
        
        OADS_LEN *
         | 
      
        
        Number of rows in the cursor or the number of rows affected for data modifying query. If the statement results in a cursor and the number of rows in the cursor cannot be determined, then return –1.  | 
     
| 
        
        RETURN
         | 
      
        | 
      
        | 
     
| 
        | 
      
        
        int
         | 
      
        
        OADS_SUCCESS
        
       
        OADS_NO_DATA – no more result sets available
        
       
        OADS_ERROR – error opening next cursor
         |