Running a batch application

About this task

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

To run the program or command 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 > Batch. 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 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) > Batch.
  3. In the My program for run window, enter 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