bdfd1m20Database Administration

NAB-Type Files with Variable-Length Items

Figure 71 shows an example of the DBDEF statements to describe a NAB-type file with variable-length items.

Figure 71. NAB-Type File with Variable-Length Items (CBV=4)


Notes:

  1. This example shows a NAB-type file ('IN') which contains variable-length items.

  2. Each item contains a reference at location 0.

  3. The size of each item is in a halfword field (yyyyLEN) in each item.

  4. The reference is in an item, so the ID2 parameter is specified.

  5. 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.