-
Notifications
You must be signed in to change notification settings - Fork 29
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
il_responseWriteStream returns incomplete JSON #106
Comments
Ok - so it seams like the stream-feature either on noxDb or in ILEastic is doing something "undocumented" ... I'll take a look. Thank you for the Feedback |
@SteffenHaugeKtp Could you tell us how "big" the data was which did get cut off when using |
I was selecting text from a DB2 file ie. SELECT text FROM db2_file LIMIT 1000 The problem seems to be øæå characters in the string field i select from. But if i do the query with a sufficient big enough limit (100+) it returns some JSON but it's incomplete. |
@SteffenHaugeKtp What is the CCSID of the table and column and what is the CCSID of the job running the web service program? |
Everything is CCSID 277 |
I made a simple program that selects every from a file and returns it as JSON via noxDB.
Following the example file: noxdbcust.rpgle
`dcl-proc jsonTest;
end-proc;`
But it seems to return invalid JSON, it looks like its getting cut off at the end, sometimes?
It seems to occur if i select enough data from a single file.
If i use json_writejsonstmf to dump the data to a IFS file it's correct.
The text was updated successfully, but these errors were encountered: