Korinne Adler
Korinne Adler
Never mind, I think you **also** need to build your unixODBC with `-DSQL_WCHART_CONVERT` in order for that to work. The above will encode the string in to the correct encoding...
It's saying that the remote (IBM i) side disconnected. Could be a socket timeout or network blip or something. You could try enabling TCP keepalive with [cwbcopwr](https://www.ibm.com/docs/en/i/7.1?topic=utilities-cwbcopwr-change-advanced-communications-settings). May need to...
There's no method for connect/query/disconnect all in one, but you could do that yourself if you wanted. If you are using the Pool interface, you may want to switch away...
We may want to add a note that profile.local doesn't work unless you are on certain releases and PTF levels, but I don't have that information available at the moment.
The original table needs a lot of polish and I'm not sure it's useful here anyway. These docs should be structured around how to use this package, not raw xmlservice....
> Are there platforms that we support and don't have Clang ? Clang is being worked on for IBM i, but is not currently available (neither is GCC 13+).
@abmusse and I have investigated this one already and there's an open CL for it already: https://chromium-review.googlesource.com/c/v8/v8/+/6987408 Both `index_counter` (mentioned in the CL) and `make_args_type_list_n` have the same issue.
> When inserting a row, using bindParameters with and targeting a table with a CLOB it add 00 to fill all clob size. Are _you_ adding the 00 to fill...
> I see that param[i].ind = SQL_NTS; can be the part of the problem I think that param[i].ind should be set to str_length for CLOBS as it is done for...
Must be this code then: ```c++ // value is '' -> output param param[i].ind = param[i].paramSize; ``` Since the code within the `if(value.IsString())` block is doing all using null-terminated strings....