Running programs and commands

The Remote System Explorer is built so that you can run programs and commands on remote servers. The following documentation applies to running Native IBM® i server programs, as well as remote Java programs, using launch configurations. Launch configurations provide the ability to save and modify specific configurations designed for running programs. However, you can also use the Commands Subsystem to run predefined commands quickly and easily. See Using predefined commands for more information.

There are two distinct ways of invoking the Run action, with and without prompt. If you choose the option without prompt, the selected object will be run with default values. If your program or command requires parameters, you need to use the prompt version to create a launch configuration.

The Commands Log view displays any returned messages as your applications are run. You can select a program or command and run it according to the type of application it invokes. The following list describes the various launch configurations available for running programs.
Launch configurations are saved configurations that you can invoke to run programs and builds multiple times. You can also run programs directly from the Commands subsystem, however, launch configurations enable greater productivity because you can specify and save the information required to run your application, including parameters, environment variables, and so on. You can also create multiple launch configurations for the same application. Your configurations are added to the workbench menu and can be launched in one quick step. You can also edit and re-save launch configurations at any time. Your additions and modifications take effect each time you use the configuration to run a program or invoke a remote build of a program. Launch configurations are meant to be compatible with project-oriented development, where you have a local project of your source that you can work with while connected to the remote server or offline. See Importing resources from a remote file system for more information.
Attention: When you choose the Run option without prompt, a launch configuration with default settings is created and saved. You can go into the Run Launch Configurations window, rename the launch configuration and save it for future use.
To run a program or command without prompt, select a program or command and do one of the following:
To invoke a Run Launch Configurations window (Prompt) for a specific program or command, select that program or command and do one of the following:

A Launch Configuration window will display, where you can specify parameters for your application.

See the related links for more information on the launch configurations.


Feedback