img

All About Mainframes

Let's Mainframe! :) VB (Variable Blocked) file: There are two types of control information in a VB file- 1) Block descriptor Word (BDW) and 2) Record descriptor Word (RDW) with the data in a VB file. There might be several records in one physical block. Each variable length record has a RECORD DESCRIPTOR WORD(RDW). RDW is of 4 bytes. The first 2 bytes store the length of the record. Each block has a BLOCK DESCRIPTOR WORD(BDW) at the beginning of the block. The BDW is of 4 bytes. The first 2 bytes contain the length of the block. The representation of a VB block file is below- BDWRDWRECORDRDWRECORDRDWRECORD That is why when the logical record length of a Variable blocked file is 80 , it is 4 bytes RDW and 76 bytes data.

img

Karilyn Denver

Chegg

a month ago

Sign in to a Grapevine account for the full experience.

Discover More

Curated from across

  • Home
  • All About Mainframes