Error: [TOD][ODBC][Unknown]CONFIG: Expected a CONFIG call

I am doing a Node.js API Rest, when I make an update and after another request I get this error: 

{ Error: [TOD][ODBC][Unknown]CONFIG: Expected a CONFIG call
errors:
[ { message: '[TOD][ODBC][Unknown]CONFIG: Expected a CONFIG call',
state: 'HY000' } ],
error: '[node-odbc] SQL_ERROR',
message: '[TOD][ODBC][Unknown]CONFIG: Expected a CONFIG call',
state: 'HY000'

}

I am using extend 9 AcuXDBC 9.01.02.01 driver.

 

This is the query that I am doing:

existenciaModel.ModificarExistencia = (idalmacen, codigoarticulo, entrada, callback) => {
  if (dbCOBOL) {
     console.log(idalmacen);
     console.log(codigoarticulo);
     console.log(entrada);
 
 
    dbCOBOL.query(`UPDATE PUBLIC.INVEXI SET EXI_ACT='` entrada `'
                             WHERE EXI_ART='` codigoarticulo `'
                             AND EXI_ALM='` idalmacen `'`,function(err, rows, moreResultSets) {
                                 if (err) {
                                    console.log("error:" err);
                                 }
                                else {
                                    callback(null, rows);
                                 }
    });
  }
}

Tags:

Parents
  • Hello Frank,
    I found an old report from a user getting this error intermittently in a PHP application. That was in version 9.2.1 and turned out to be a bug that was fixed in 9.2.2. You should try this with a newer version. I recommend the latest version which is 10.2.1.
    Cheers,
    -Doug
Reply
  • Hello Frank,
    I found an old report from a user getting this error intermittently in a PHP application. That was in version 9.2.1 and turned out to be a bug that was fixed in 9.2.2. You should try this with a newer version. I recommend the latest version which is 10.2.1.
    Cheers,
    -Doug
Children
No Data