Running an interactive application

About this task

The following instructions explain how to run a program or command in an interactive job.

Your application will run in the interactive job associated with the selected Remote System connection. If no interactive job is associated with the connection, you can do the following:
  1. Open a 5250 emulator and sign on to your remote IBM® i server.
  2. In the emulator, enter the command:
    STRRSESVR connectionName
    where connectionName is the name of your connection selected in the Remote Systems view. This associates the interactive job with the specified Remote System connection.
    Note: The connection name is case sensitive and must already be defined in the Remote System Explorer.
To run the program or command without prompt:
  • From the Remote Systems view, expand Objects and drill down through your library list or filters until you find the object that you want to run. Alternatively, you can use Object Table view.
  • Right-click the object and select Run As > Interactive. This will automatically create an IBM i Run launch configuration with the default name "My program for run". You can also use Run As from the Run workbench menu, or from the down arrow next to the Run push button .
To run the program or command with prompt:
  1. From the Remote Systems view, expand Objects and drill down through your library list or filters until you find the object that you want to run. Alternatively, you can use Object Table view.
  2. Right-click the object and select Run (Prompt) > Interactive.
  3. In the My program for run window, fill in all information that is required to run your application. This will automatically create an IBM i Run launch configuration with the default name, "My program for run". You can also use Run... from the Run workbench menu, or from the down arrow next to the Run push button , which will display the Run Launch Configurations window.

See Working with Run launch configurations for more information.


Feedback