nodejs-idb-connector
nodejs-idb-connector copied to clipboard
Error SQLSTATE=38501 SQLCODE=-443 does not return the true message
Hi,
When executing from Node a system command like dbstmt.exec( "CALL QCMDEXC('ENDSBS xxxxx OPTION(*IMMED)' )" )
, where "xxxx" doesn't exists :
-
with the idb-connector, i obtain a generic error message Trigger program or external routine detected an error. SQLSTATE=38501 SQLCODE=-443
-
with a OLEDB connector, I obtain a more concise error message CPF1054: No subsystem xxxxx active
In my code, I found an old test on this "CPF1054" string, and I'm pretty sure I got this kind of information in a previous version of the idb-connector.
Is it a design choice? Is it possible to find these details in the error messages?
- Node.js version: 10.
- idb-connector version: 1.2.10
Thanks
:wave: Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.