Running a multithreaded application

About this task

The following instructions explain how to run a program in a multithreaded job.

To run the program without 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 as > i Multi-Threaded Application. This automatically creates 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 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) > Multi-threaded.
  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.

For more information, see Working with Run launch configurations.


Feedback