FILE ALLOCATION is a key concept in COBOL programming. A file is a collection of data related to a set…