Wednesday, June 13, 2012

Convert VB to FB

Converting variable block to fixed block file is often necessary in Mainframe. If the VB file has LRECL = n, the corresponding FB file record length will be n-4 as the first 4 bytes of VB file is used for Record Descriptor Word (RDW) containing the integer length of the record in bytes.