WORKING STORAGE SECTION
Because MULTFBE contains SQL, the SQLCA and the DB2® tables accessed by the exit
are defined in working storage. The same copy members used in MULTIRD
are used in MULTFBE.
LINKAGE SECTION
The parameter list that CICS® VT
passes to an FBE is different to an IRD.
Main Logic
At the start, the exit establishes addressability to the
VSAM field and the DB2 record.
Error handling
Error handling in MULTFBE is equivalent to error handling
in MULTIRD, except that different parameter names are used.
General notes for MULTFBE
MULTFBE is a simple exit, and most of the coding is for
the SQL SELECT statements and the subsequent MOVE statements. There
are separate MOVE statements for each discrete field, and this is
largely for illustration purposes. Because there is no data transformation,
these moves could be combined into a single block move.