The COBOL File Access Routines are Application Programming Interface (API) functions used to access COBOL files from C language programs.
When a COBOL file access routine is called, a file access module provided by the COBOL Runtime System is called by the COBOL file access routine, and the file is accessed.
The COBOL file access routines enable the following operations:
File I-O to or from the existing resources, such as reading or rewriting a file created by a COBOL application
Creation of COBOL files of any organization type
Sharing or exclusive use of files with COBOL applications
Analysis of file attributes/record key list of existing indexed files