Skip to main content

Problem:

How can you compile at a Windows command prompt.

Resolution:

The COBOL compiler can be run using the COBOL.exe command and any linking (to EXE/DLL) can be performed using CBLLINK.exe utility.

The "Net Express Command Prompt" which is in the Net Express folder on the start menu has the environment already setup for compilation.

If you want to perform compilation at normal Window Command prompt you need to run:-

"c:\\Program Files\\Micro Focus\\Net Express n.n\\base\\bin\\CREATENV.BAT"   (substituting your own path)

before the compilation is carried out.

Old KB# 3880