on 2016 Feb 10 11:07 AM
In trying to learn the JavaScript External Environment, I have encountered the following problem.
According to the documentation and examples, you can connect to the callers database using 'sa_dbcapi_handle' in place of the connection parameters.
While this works on Linux, it fails on Windows with the message:
Could not execute statement. Procedure 'test2' terminated with unhandled exception 'Error: Code: -739 Msg: db_init has not been called or the call to db_init failed' SQLCODE=-91, ODBC 3 State="HY000" Line 15, column 1 CALL test2()
I've created a github gist (https://gist.github.com/twilkinson/6036702fae6f29f62107 ) that illustrates the problem.
There are 2 files:
I'm running Windows-7, SA17 Developers Edition (17.0.0.1211) and node (v0.10.40).
Has anyone else seen this? Any suggestions?
Thanks,
Request clarification before answering.
It appears to not reproduce with V5.6.0 ... I was using the same NodeJS V4.3.0 as you are running when I reproduced this ... but the issue was not reproduced by a collegue with V5.6.0. {thanks Jack}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
15 | |
12 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.