We're on v6R1.
We have a number of result sets defined, which return a single column of long strings, which are generated programatically.
Up to 32K the programs work fine:
* Data structure for the Output Record to WEB:
D OUTDATA DS occurs(3)
D w_xmlmsg 32000a varying
C+ SET RESULT SETS ARRAY :OUTDATA FOR :OCUR ROWS
When we try to compile this with w_xmlmsg defined as 33000a, we get an SQL5011 -- host data structure not defined or not usable.
v6R1 increased the length of strings to 16M -- we have no problems using this internal to programs. Is there a clean way to return the longer strings through a stored procedure?