Skip to content

RODBC not working when connecting to a Sybase database

1 message · Farrel Buchinsky

#
What is this error message about and how do I troubleshoot it?
Error in .Call("RODBCFetchRows", attr(channel, "handle_ptr"), max, buffsize,  :
        negative length vectors are not allowed
The channel was created as such
channel <- odbcConnect("Labdata")
I think this is telling me that my odbcConnect command worked
DBMS_Name                   DBMS_Ver
"Adaptive Server Anywhere"               "09.00.0002"
           Driver_ODBC_Ver           Data_Source_Name
                   "03.52"                  "Labdata"
               Driver_Name                 Driver_Ver
             "DBODBC9.DLL"               "09.00.0000"
                  ODBC_Ver                Server_Name
              "03.52.0000"                     "CGS9"