Anna Bari wrote:
> Can select in SQLCI in Tandem HP be translated to JSON format
As far as I know, there is no command options in SQLCI (nor in mxci) that will take output of a SELECT and change it to JSON. There might be some third-party utilities available that will produce JSON from the results of a SELECT, but if so, I don't know about any of them.
If you are willing to write a small program in Java and use JDBC, there are Java packages that make it a pretty simple programming job to take the result set from a Select query and produce JSON from that. If you run that Java program on the NonStop system, you can access the SQL/MP table directly using the SQL/MP JDBC driver. If you want to run the Java program on a different system than the NonStop system, you should create a SQL/MX alias for the SQL/MP table, then you can use the SQL/MX JDBC driver to access the SQL/MP table via the SQL/MX alias for the SQL/MP table.