finding unix shell scripts used in datastage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 139
- Joined: Fri Apr 11, 2008 1:02 pm
finding unix shell scripts used in datastage
Hi
we have a project which has more than 450 jobs, i need to find which jobs are using a shell script inside them, mostly all the unix scripts are called from the external source stage and all the scripts ends with ".sh" extension, so is there
any easy way to find the names of those scripts.
cheers
max
we have a project which has more than 450 jobs, i need to find which jobs are using a shell script inside them, mostly all the unix scripts are called from the external source stage and all the scripts ends with ".sh" extension, so is there
any easy way to find the names of those scripts.
cheers
max
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
SELECT NAME FROM DS_JOBS WHERE JOBNO IN (SELECT OBJIDNO FROM DS_JOBOBJECTS WHERE EVAL "@RECORD" LIKE '%.sh%');
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 139
- Joined: Fri Apr 11, 2008 1:02 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There's no public domain documentation. These tables were originally built using the UniVerse RDBMS (the original engine for DataStage). When IBM purchased UniVerse but had not yet purchased DataStage, the two engines shared the same code base, and have diverged only a little since. UniVerse RDBMS is now owned and marketed by Rocket Software.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not really. I come from a UniVerse background, so that helps. I worked for the vendor who created DataStage, which helped a lot. It has always been the vendors' decision not to publish details of the underlying engine databases.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 139
- Joined: Fri Apr 11, 2008 1:02 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Could You please clarify what is meant by EVAL and @RECORD in the above query?ray.wurlod wrote:...Code: Select all
SELECT NAME FROM DS_JOBS WHERE JOBNO IN (SELECT OBJIDNO FROM DS_JOBOBJECTS WHERE EVAL "@RECORD" LIKE '%.sh%');
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: