Remote Execution of EXE Files

Distributed NetBeans provides support for remotely executing and debugging OpenVMS executable images.

You can remotely execute an .EXE file by right-clicking on the file in the NetBeans Files tab and selecting Remote Execute.


 

Remote Properties for EXE Files

The Remote Properties for the EXE file control how the remote execution is carried out, either using the standard DCL RUN verb or by defining a foreign command to execute the image.  The default is to use the DCL RUN verb to execute the image.

Remote properties are saved for each EXE file, so any changes made are in effect even after the IDE is restarted.

  To change Remote Execute/Debug options for an individual .EXE file:

1.  Select the .EXE file (in this example, CSampleProg.EXE).

2.  Right click and select Remote Properties.

The Remote Properties dialog box appears.   

 

 

Use XTerm for Execution

The Use XTerm for Execution property causes the image to be run in a separate DECterm window. A separate DECterm window is also created for input and output from the image execution.

 To use this property, you must have an X-windows server running on your desktop.  For example, on a Windows machine, eXcursion or Hummingbird eXceed can be used.

 

Run as Foreign Command

If the Run as Foreign Command checkbox is clear, the image is executed with the DCL RUN command.  For more information about using foreign commands, see the OpenVMS Users Manual.

If the Run as Foreign Command checkbox is checked, the image is run as a foreign command.  Arguments are appended to the foreign command from the Arguments property or as entered in the Prompt for Runtime Arguments dialog.  The values entered in the Prompt for Runtime Arguments dialog box take precedence over the value in the Arguments property.

Prompt for Runtime Arguments

The Prompt for Runtime Arguments property causes a prompt dialog box to appear when the Remote Execute action is chosen.  The arguments entered into the dialog are passed to the remote foreign command as arguments.  

Values entered in the dialog box take precedence over the value in the Arguments property.

 

The prompt appears only if Run as Foreign Command is checked.

Remote Debug with Foreign Command

For Remote debugging of images, the Run as Foreign Command property is ignored.  However, the Arguments property will be passed to the Debug/Server using the /ARGUMENTS qualifier.  As with the Remote Execute command, Prompt for Runtime Arguments will override the value in the Arguments property.

For more information on remotely debugging 3GL applications, see Using the Remote 3GL Debug Interface.