osh script

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
arunkumar1111
Participant
Posts: 19
Joined: Sun Jun 29, 2008 10:19 pm

osh script

Post by arunkumar1111 »

Hi

Where can i find the osh file for a give job. Is the OSH file is in the Unix shell or it is a BASIC Code or it is OOPS Code. How does it gets created during compilation
Thanks and Regards
Arun
Known is a drop and Unknown is an Ocean
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The OSH code that is generated by compiling a parallel job is stored as part of the job properties. Provided that viewing of the generated OSH has been enabled in the Administrator, then you can view the generated OSH by opening the Generated OSH tab in the job properties dialog.

It is OSH (Orchestrate shell) script. It is not DataStage BASIC, it is not an operating-system-level executable, and it is not really object-oriented programming (though the operators mentioned are objects that can be invoked, for example, from C++ code).

You should also be aware that this OSH script is not what gets executed. For example it has/contains no knowledge about the degree of parallelism with which the job will be run. A separate OSH script called the "score" is composed at run time. To view the score you need to set an environment variable to have it dumped into the job log or into a directory.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply