OSH file Information

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
ashish10mca
Participant
Posts: 9
Joined: Sat Oct 10, 2009 6:13 am

OSH file Information

Post by ashish10mca »

As we know when datastage job executes it creates a Orchestrate file. Suppose i have an Orchestrate file then how can i know relevant job regarding Orchestrate file..
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

This is a one-way route, one needs to reach the OSH script in order to get an idea of what the job looks like. The OSH scripts pre-date the graphical front end.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The osh script generated by a parallel job being compiled is in a directory called RT_SCnnn. Here, nnn is the job number, which is mapped to the job name via the DS_JOBS table.

Code: Select all

SELECT NAME FROM DS_JOBS WHERE JOBNO = 'nnn';
Note that JOBNO is a VarChar, so single quotes are needed.
The osh script generated by a parallel job being compiled contains a comment at line 1 indicating which job was compiled and the date and time that that occurred.
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