A describe result set does not contain fetchable data; rather, it indicates the existence of descriptive information returned as the result of a dynamic SQL describe-input or describe-output command.
See “Step 2: Get a description of command inputs” and “Step 3: Get a description of command outputs”.
An application can retrieve this information by calling ct_describe, ct_dyndesc, or ct_dynsqlda. See “Processing parameter descriptions” and “Processing column descriptions”.
Most applications use a program structure similar to the following one to process a describe result set:
case CS_DESCRIBE_RESULT
ct_res_info to get the number of columns
for each column:
ct_describe or ct_dyndesc to get a description
end for
end case