Using the Settings Option

About this task

Use the Settings option to change the default search paths that are used for the build operation to exclude program components from the build analysis, to set custom component extensions, and to select different analysis parameters according to the resource type.

To open the Settings window for a resource, follow these steps:


  1. To open the Settings window for a resource, follow these steps:
    1. On the Project tree diagram, right-click the component that you want to exclude from the analysis.
    2. In the menu that opens, select Settings. In the Settings window select Show the project tree. The project tree is displayed showing the selected resource (you can select several resources if needed).
    3. If you select Exclude File(s) from Build, the selected files are excluded from subsequent builds. The parameter can be set for any individual file in the project, for a set of files within a folder or for an entire project folder, by selecting the folder node in the tree.
      Note: The options that are shown in the Settings window depend on the type of resource selected.
  2. To open the Settings window for a project, follow these steps:
    1. Select the Project node in the Project pane.
    2. Go to Project, then select Settings to display the Settings window as in the following image.
      This image shows the General pane in the Settings window.
    In the General tab of the Settings window, after the Show the project tree check box is selected, the following check boxes, fields, or options are available:
    Project / Folder Check Box / Field / Option What it does
    Project node Activate LOG file Creates a log file of errors/warnings. This check box is password that is protected for administrator use only.
      Search Paths area Displays the default search paths that are used during the Build operation. Allows the user to change the default search paths if needed. When you click Explore, the Search Paths Order window is displayed. Use the available buttons to either create an entry, to delete the selected entry, or to change the position of the selected entry in the list. The build operation is run in the order set in this window.
    All folder nodes, individual resources Exclude files from build Excludes the select files or folder from build operation.
    Natural Indent size Determines the column number where the text must start (in the source code).
    Natural Compiler Mode- Structured mode/Report mode Sets either the Structured or the Report mode for the compiler.
    All include folders (Cobol, Natural) Include Extensions or Default extensions Allows the user to enter custom include extensions or use the default ones.
    Data Area (in Natural projects) Data Area file format- Format 1 or Format 2 Allows the user to select either Format 1 or Format 2 for the Data Area resources’ processing. The option that is selected by default is Format 2.
    PL1 PL1 Line Settings- Line Offset, Free Text format. Allows the user to select the column number where the text must start (in the source code) or choose the Free Text Format option.

    From the Settings window, an IMS DB Environment can be set up for COBOL programs that use EXEC DLI commands and DL/I calls. Fore more information, see step 4 from Adjusting Settings section.

    From the Settings window, select the Using EXEC DLI (IMS related) check box to analyze COBOL programs with EXEC DLI commands that are present in the project. Fore more information, see step 5 from Adjusting Settings section.

    The following check boxes are available in the Extensibility tab from the Settings window:
    • Enable API/Macro handling by using a configuration file.
    • Enable handling of before and after preprocessed source code.