Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error SQLSTATE=38501 SQLCODE=-443 does not return the true message #140

Open
Didier68 opened this issue Apr 20, 2021 · 1 comment
Open
Labels
bug Something isn't working keep-open

Comments

@Didier68
Copy link

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

@Didier68 Didier68 added the bug Something isn't working label Apr 20, 2021
@github-actions
Copy link

👋 Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.

@github-actions github-actions bot added the stale label Oct 28, 2022
@abmusse abmusse added keep-open and removed stale labels Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keep-open
Projects
None yet
Development

No branches or pull requests

2 participants