Compiling the EXTFH sample

The EXTFH samples can be compiled using Micro Focus COBOL compiler on all platforms and COBOL-IT compiler on Linux and Windows.

To compile the sample program:
  1. Ensure that the COBOL compiler is included in your PATH environment variable.
  2. Run the following command to compile the sample program:
    On Linux
    make -f Makefile.extfh {SEC |VC |COBIT}

    Where,

    • SEC : To compile the applications using Micro Focus Server Express COBOL compiler.
    • VC : To compile the applications using Micro Focus Visual COBOL compiler.
    • COBIT : To compile the applications using COBOL-IT compiler.
    On AIX
    make -f Makefile.extfh {SEC|VC}

    Where,

    • SEC : To compile the applications using Micro Focus Server Express COBOL compiler.
    • VC : To compile the applications using Micro Focus Visual COBOL compiler.
    On Windows
    nmake -f Makefile.extfh {MF_ALL | COBIT}
For more information, see File processing using EXTFH with non-CICS applications.