Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Requesting fixed-length format

Fixed-length records are in format F. Use RECORDING MODE F to explicitly request this format.

You can omit the RECORDING MODE clause. The compiler determines the recording mode to be F if the length of the largest level-01 record associated with the file is not greater than the block size coded in the BLOCK CONTAINS clause, and you take one of the following actions:

In an unblocked format-F file, the logical record is the same as the block.

In a blocked format-F file, the number of logical records in a block (the blocking factor) is constant for every block in the file except the last block, which might be shorter.

Files in the HFS are never blocked.

related concepts  
Logical records

related references  
Layout of format-F records


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)