UpBuilding a Project > UpCOBOL Compiler Previous Next

Setting the Main Program

Before building a COBOL project, one of the source files in the project must be specified as the main program.
If no main program is specified, a link error occurs.

+To set the main program

From the Dependency view, select the source file to be set as the main program.

  1. Select [Main Program] from the context menu.
  2. The selected source file is then set as the main program, and the file icon is changed.
  3. The following figure shows that the "Filename.cob" source file is set as the main program.

image

image

User can set the main program for both COBOL source and Object-Oriented source.


Previous Next

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2003-2005