UpExecuting COBOL Projects Previous

Executing a COBOL Project

This section explains the procedure for executing a COBOL program.

+To execute a COBOL program

  1. Select a COBOL project from the Navigator or Dependency view.
  2. Select [Run] > [Run...] from the menu bar or click on image icon in the toolbar. The [Run] dialog is displayed.

image

  1. Select [COBOL Application] from the left pane.
  2. Click [New]. The launch configuration setting page is displayed in the right pane.
  3. The default launch configuration name is displayed at [Name:]. You can change it to any name you want.
  4. Click the [Main] tab.
  5. Enter the COBOL project name in [Project name:], or click [Browse] and select the COBOL project.
  6. If the target type of the specified project is a dynamic link library, specify an executable file in [Executable File:].
  7. Specify the runtime folder in [Working folder:]. You can store the dynamic link library required for program execution in this folder so that it can be loaded during execution.
  8. Enter parameters in the specified format on the command line in [Program arguments].
  9. Click [Run] to execute the program.

image

Select a project from the Dependency view, and select [Run] > [Run As] > [COBOL Application] from the menu bar. This can execute the program under the default settings.

+COBOL application launch configuration setting items

This section explains the COBOL application launch configuration setting items, excluding those on the main tab.

++[Source] tab

Specify the source search path used for running.

image

++[Common] tab

Specify the launch configuration information save mode and the perspective that is opened following the start of execution or debugging.

image

[Type of launch configuration:]

Select [Local] or [Shared] as the launch configuration type. If [Local] is selected, launch configuration information is saved locally as workspace metadata. If [Shared] is selected, launch configuration information is saved to the location specified by [Location of shared configuration] so that it can be shared.

[Perspective to switch to or open when launched in:]

Select the perspective to be opened following the start of the program in execution mode or debug mode. Select one from the combo box.

[Display in favorites menu:]

To add [Run] and [Debug] to the Favorites menu, check [Run] and [Debug]. These items are not selected by default.


Previous

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