User-Defined Data Handlers for Large Objects
Use the following definitions when you code user-defined data handlers for large objects in Dynamic SQL programs that use the exec sql include sqlda statement:
declare integer constant IISQ_LVCH_TYPE = 22
declare integer constant IISQ_HDLR_TYPE = 22
record IISQLHDLR
long sqlarg
long sqlhdlr
end record IISQLHDLR