IFCID Records

IFCID records overview.
After a READS command is successfully executed as indicated by RC and IFCRC variables set to 0, REXX variables corresponding to the requested IFCIDs are populated. The annotated REXX exec that is provided in READA and READS Control Variables example shows, in notes (10) - (13), how to identify the bounds for indices used with these REXX variables.
Each trace buffer received from Db2 in the return area contains one or more records (IFCIDs). The number of IFCIDs is stored in the IFC.0 variable. Each IFCID contains one or more Product Sections. QWHS is always present but QWHC, QWHD, QWHU, and QWHT may or may not be present. Variables QWHS.i.0, QWHC.i.0, QWHD.i.0, QWHU.i.0, and QWHT.i.0 are created for every IFCID.I. The variable is set to 1 if the section is present or to 0 if it is absent.
RLX
/IFI does DROP REXX variables so they may have residual values set by a prior READS command. The exceptions are the “occurrence count” zeroth variables which are always set for all possible sections for a given IFCID after each READS call.
The following sections are named in accordance with the names of the Db2 macro DSECTs found in the SDSNMACS library.