When OSH code gets generated?

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
videsh77
Premium Member
Premium Member
Posts: 97
Joined: Thu Dec 02, 2004 10:43 am
Contact:

When OSH code gets generated?

Post by videsh77 »

When OSH code gets generated, is it after compilation or execution of parallel job?
Thanks with regards,
videsh.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

During compilation.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Compiling a parallel job generates osh and, possibly C++ source code that is compiled and linked and callable at run time.

When the job starts the generated OSH and the currently selected configuration file are used as input to a set of execution instructions called the "score", which contains the operators that are actually executed.

Due to optimization and other factors the score may not have a one-to-one correspondence with the generated osh. Indeed, it rarely does, except in the very simplest of job designs.

If you set APT_STARTUP_STATUS to True you will get events logged that show the score being distributed to the various processing nodes. APT_DUMP_SCORE or DS_PX_DEBUG will get the score dumped in human-readable form.
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