Hi,
I'm developing an integration between Caché servers by ODBC conection, and I have the following problem.
In this call:
**call COSClass_Methode('222169^^98^155^64530^06:30^021542987897458855441112877855^1^0^281992^GC')**
the ODBC driver is truncating the string to 50 characters.
If I run this same command with $system.SQL.Shell(), this doesn't occur.
I did a test creating several parameters for COSClass_Methode, and they all have a 50 character limitation.
Does anyone know why the ODBC Cache Driver limits the number of characters per parameter of this type of call?
Or, how can I adjust this?
Example of implementation [http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=BGOD\_gateway#BGOD\_C127276](http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=BGOD_gateway#BGOD_C127276)
For connection I used the
Basic example of the called class
Class User.COSClass Extends %Persistent [ Owner = {_PUBLIC} ] { ClassMethod MethodeExecute(ByRef QHandle As %Binary, data1 As %Library.String, data2 As %Library.String, data3 As %Library.String) As %Status { set ^rht(2,1)=$get(data1) set ^rht(2,2)=$get(data2) set ^rht(2,3)=$get(data3) quit 1 } Query Methode(data1 As %Library.String, data2 As %Library.String, data3 As %Library.String) As %Library.Query(CONTAINID = 1, ROWSPEC = "Result,Par2:%String") [ SqlProc ] { }</pre></body></html>