OSH program

Orchestrate® Shell (OSH) is a program that is patterned on a UNIX shell that implements a text-based command language (also called OSH), and that controls the parallel processes that implement a job.

When you run a job in the IBM® InfoSphere® DataStage® and QualityStage® Designer client or the InfoSphere DataStage and QualityStage Director client, two events occur:
  1. The client generates several internal text files and sends them to the parallel engine.
  2. After the text files are delivered, the client signals the server to start a program that is called OSH.

The OSH program implements all the functions of the parallel engine, such as process synchronization, messaging, performance logging, and monitoring.

You can start the OSH program from a command line if all required environment variables are set. You can use the OSH command line for job development and debugging or when you want to use other command-line tools to control the parallel engine.

The OSH command-line displays messages for syntax errors. These OSH messages are not usually displayed unless you are using the command line directly.

Many messages from the parallel engine explain errors about the OSH syntax or parameter values. Because a job compilation typically produces the correct OSH code, you do not see these types of error messages. However, the following situations might cause you to see the OSH-related messages:

If you receive an OSH-related message, but you are confident that a job is not modifying the OSH code that the Designer client generated, then follow the procedures for reporting an internal program error to IBM Software Support.