Example: Record format *DB

 

Here is an example of record format *DB.

The following figure is based on these settings: D-type code ASCII, blocked (*DB). Figure 1. Records with optional block prefixes

This graphic displays two blocks. Block 1 contains OBP, Record A, Record B, and Record C. Block 2 contains OBP, Record D, Record E, and Record F. Block 1 is also pointing toward Block 2.

OBP is an optional block prefix. The buffer offset (BUFOFSET) parameter, for the tape file, specifies the optional block prefix that can vary in length from 00 to 99. The OBP length must be constant for all blocks in the file. Each record can also contain an optional control character.

 

Parent topic:

Record formats