CNT files using the CPT parameter

The following figure shows an example of the DBDEF statements to describe a CNT file using the CPT parameter.

Figure 1. CNT-Type File (CBV=2): Using the CPT Parameter
Alternative text description not available.
Note:
  • This example shows file "FH", which contains a field named yyyyCNT.
  • yyyyCNT contains a value equal to the number of items in the block.
  • The items have a fixed-length, and each contain a reference to a "FI" record.
  • In this example ID2=(CHK0), so a record code check (RCC) of X'00' is used by TPFDF recoup and the TPFDF capture/restore utility, information and statistics environment (CRUISE). Therefore, the RCP parameter is not needed.