The germ for this post comes from a comment made on the Better examples for creating and consuming JSON post. The question was:
How can I create an IFS File of the JSON Object from the MYLIB.OUTPUT object?
In that post I used the JSON_OBJECT scalar function to create a JSON array in a DDL table with a CLOB column:
01 CREATE TABLE MYLIB.OUTPUT (OUTPUT CLOB) |
I filled the CLOB with a SQL Insert statement with the JSCON_OBJECT scalar function, creating a JSON array from the data in the Person file:



