|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Unclosed quotation mark |
« View previous topic :: View next topic » |
Author |
Message
|
BeTheChange |
Posted: Tue Apr 22, 2014 5:25 am Post subject: Unclosed quotation mark |
|
|
 Newbie
Joined: 22 Apr 2014 Posts: 7
|
I've setup the ODBC stanza for SQL Server, in my UNIX box. Now, when I call a stored procedure from ESQL, on taht SQL Server DB, getting the below exception
Code: |
CALL getStockFull(env.ResultSet[]);
Exception:
Text:CHARACTER:Child SQL exception
Insert
Type:INTEGER:5
Text:CHARACTER:10106
Insert
Type:INTEGER:2
Text:CHARACTER:105
Insert
Type:INTEGER:5
Text:CHARACTER:[unixODBC][IBM][ODBC SQL Server Legacy Driver][SQL Server]Unclosed quotation mark after the character string '%069000690006900'.
|
The same procedure call was woring on our Dev. I've added the ODBC details, for this SQL Server DB, on this Unix box, set up the db parms and tested the configuration using mqsicvp. All works fine.
Even, performing a simple select (from ESQL), on this db, works fine. Procedure calls are ging this "Unclosed quotation mar..." exception.
Here's my ODBC stanza
Code: |
[WMBDB]
Driver=/opt/IBM/mqsi/9.0.0.0/ODBC/V7.0/lib/UKmsss26.so
Description=DataDirect 7.0 ODBC SQL Server Wire Protocol
Address=<<SERVER_NAME>>
AnsiNPW=Yes
Database=<<DB_NAME>>
QuotedId=No
ColumnSizeAsCharacter=1
LoginTimeout=0
|
I feel there's something wrong in my ODBC confiugration. Have any suggestions?
Thanks. |
|
Back to top |
|
 |
BeTheChange |
Posted: Tue Apr 22, 2014 6:55 am Post subject: Unclosed quotation mark |
|
|
 Newbie
Joined: 22 Apr 2014 Posts: 7
|
My bad. ODBC InstallDir mandatory information was missing in the odbc.ini (this is the first time we're using this machine). Updating the InstallDir value solved the problem.
Thanks |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|