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

6.1 Line Sequential File INPUT

Overview

This example program opens the specified file in INPUT mode as a line sequential file and displays the contents of the record that is read.

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 FCFA01.MAK

Execution procedure

Run the program by using a proper text file as the argument. For example, enter the source program of FCFA01 itself.

> FCFA01 FCFA01.C

Folder

C:\netcobol\samples\FCFA01