I haven't tested the new 16MB string variable feature on V6R1, but couldn't
that be the reason 16MB is being sent if the data isn't be trimmed of spaces
at the end? If wrkbuf isn't defined as VARYING then unless you do a
%trimr() to occupy wrkbuflen you will have the full length.