Top
NetCOBOL V11.0 COBOL File Access RoutinesUser's Guide
FUJITSU Software

6.3 Indexes File Information Acquisition

Overview

This example program opens the specified file in INPUT mode as the indexed file and displays the attributes of the file itself and each structure of the record keys.

Compilation procedure

Provide the folder name in the "makefile" according to your environment as follows:

CDIR

The installation folder of the C compiler is set.

COBDIR

The installation folder of the NetCOBOL is set.

Then, enter the following command:

> nmake -f FCFA03.MAK

Execution procedure

Execute the program by using a proper indexed file as the argument. For example, specify the indexed file created by executing the sample program FCFA02.

> FCFA03 ..\FCFA02\FCFA02.IDX

Folder

c:\netcobol\samples\FCFA03