File Compilation Settings

When you begin a new project or mount an existing project, source file properties are inherited from your IDE project settings. The file properties page consists of:

  To open compiler or command file settings for a 3GL language file:

    1. Select a 3GL language file from Filesystems.

    2. Select the Properties command from the View menu or the right-click context menu.

See Also

File Properties

Compiler Settings

Command File Settings

File Properties

3GL language source files have basic properties that you can set on a per file basis.

Usage Notes

Important Make sure you deselect the Inherit from project option for properties with Chooser dialogs. If you do not do this, your selection is ignored.

–  The settings you see in a file property sheet are initially those that apply to the currently active IDE project. Changing values in this property sheet will only affect the selected file.
–  Values in curly braces {} are macros - in effect, placeholders for a property value.

–  To change a property setting, select the appropriate one by clicking on the corresponding row and entering data in the right column. Click the chooser button  to open a Property Editor dialog box which usually presents a text box or a directory browser).

Compiler Settings

The property sheet associated with a 3GL language source file contains a Compilation Settings property page. This page lists applicable parameters and qualifiers for OpenVMS language compilers that you may set on a per file basis.

Command File Settings

The Command File Settings tab is enabled by checking Use Command File in the file properties tab. This means that a command file will execute the compile or build process, rather than the compiler settings.

Default command file properties are as follows. Properties not shown here have no default value.

Build Command
@{command file}{file}

Build Directory
 

Command File
{file}

Use DECterm
False

X Display Device Number
{number}

 

Usage Description

Build Command

This is a command that executes a DCL command file (if you are using a command file). The {file} macro is a placeholder for the files you are compiling or building and does not have to be specified.  Following are the supported macros:

Device
Device name from the DCL command file

Directory
Directory from the DCL command file

Filename
DCL command filename without the extension              

File Extension

File extension of the DCL command file

Build Directory
Specify the directory where the source file build takes place. The default location is the directory where the selected source file is located. (You can browse for another directory.)

Command File
You must provide the file specification of the command file that you want to use. You can browse the given list for the file. (Must be enabled with the Use Command File property.)

Use DECterm
This command directs the compilation output to a DECterm window, instead of the NetBeans Output Window (which is non-interactive). You can execute your compile and build commands in the default method inside the IDE, and this will spawn a new DECterm window. For example, if you are using command files that require input, you will need an interactive DECterm window.

X Display Device Number
This integer defines the screen associated with the X Windows display device on a local machine. The property is used only if Use DECterm property is set to TRUE.