CICS VSAM Transparency for z/OS, Version 1.2


Build a load record

The IRDFUNCT parameter is L when the VIDLOAD utility is running.

There are four key IRD parameters that are set for processing this type of call:
IRDB2DAT
You set this pointer to the address of the DB2® record area that your exit has built.
IRDTYPE
This is a user-specified 2-byte field that indicates the record type. For MULTIRD, the record types are 10, 20, 30, and 40. See Loading the DB2 data for an illustration of how this is used.
IRDRPTGR
This is the number of DB2 records that have been built in the IRDB2DAT area. This parameter is related to an IRD for a file containing a repeating group field where each group item becomes a separate DB2 row. This scenario is discussed in Handling repeating groups. For MULTIRD, the value in this field is 1.
IRDB2DLN
This is the length of the DB2 record. In MULTIRD, each of the 4 secondary tables is a different length. This field has particular relevance in Handling repeating groups.

No SQL statement can be processed when the IRDFUNCT parameter is L because there is no connection to DB2.



Concept topic


Last updated: May 25, 2012 20:46:2