Copybooks and default vectors

To simplify the task of constructing and analyzing Link3270 messages, CICS® provides copybooks and header files containing BRIH and BRIV structures. Sample BRIH and input BRIV structures already primed with default values are also supplied, so all you need to do is copy them into your COMMAREA and modify relevant fields.

Default structures and message copybooks

The following default structures are supplied in all supported languages:
  • BRIH-DEFAULT
  • BRIV-CONVERSE-DEFAULT
  • BRIV-RECEIVE-DEFAULT
  • BRIV-RECEIVE-MAP-DEFAULT
  • BRIV-RETRIEVE-DEFAULT
You will find the copybooks and headers in the files listed in the following tables. Table 1 shows the basic copybooks. Table 2 shows the extended copybooks.
Table 1. Link3270 message copybooks for basic support
structure COBOL C PLI Assembler
BRIH DFHBRIHO DFHBRIHH DFHBRIHL DFHBRIHD
Inbound BRIVs DFHBRIIO DFHBRIHH DFHBRIHL DFHBRIHD
Outbound BRIVs DFHBRIOO DFHBRIHH DFHBRIHL DFHBRIHD
Defaults and constants DFHBRICO DFHBRICH DFHBRICL DFHBRICD
Table 2. Link3270 message copybooks for extended support
structure COBOL C PLI Assembler
BRIH DFHBR2HO DFHBR2HH DFHBR2HL DFHBR2HD
Inbound BRIVs DFHBR2IO DFHBR2HH DFHBR2HL DFHBR2HD
Outbound BRIVs DFHBR2OO DFHBR2HH DFHBR2HL DFHBR2HD
Defaults and constants DFHBR2CO DFHBR2CH DFHBR2CL DFHBR2CD

Sample client programs are supplied to illustrate the use of the copybooks and defaults. For more information, see Link3270 sample programs.