Job search in unix

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
mayura
Participant
Posts: 40
Joined: Fri Aug 01, 2008 5:58 am
Location: Mumbai

Job search in unix

Post by mayura »

how to search the data stage job in unix..

:?
Mayura
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Please define what you mean by "search the DataStage job".
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Search DSXchange. There is a recent (current) conversation about UNIX processes that belong to a DataStage job.

The job itself does not exist in UNIX. The job itself is stored in database tables.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mayura
Participant
Posts: 40
Joined: Fri Aug 01, 2008 5:58 am
Location: Mumbai

Post by mayura »

ray.wurlod wrote:Search DSXchange. There is a recent (current) conversation about UNIX processes that belong to a DataStage job.

The job itself does not exist in UNIX. The job itself is stored in database tables. ...

there is datastage and unix connectivity.In version 8 we can seach the job.But in 7.5 suppose for example i have created a job and i dont remind in which category it is,Then how can we seach it by using UNIX.
As i know we can search it from datastage admin but how from UNIX.

:lol:
Mayura
udayk_2007
Participant
Posts: 72
Joined: Wed Dec 12, 2007 2:29 am

Post by udayk_2007 »

you can fire a query on database from unix box.

select category from ds_jobs where job_name='your job name'
mk_ds09
Participant
Posts: 72
Joined: Sun Jan 25, 2009 4:50 pm
Location: Pune

Post by mk_ds09 »

Before running query you have to check for UV command.
You need to setup the datastage enviormental variable.
And if there are multiple projects, you have to logon on those projects and then you can check the job specific properties as well..

One UV is set, you can query datastage tables to get the details of the job.

If your job is not present , query will fail ..

Hope this helps
-----------------------------------
Regards
MK

What would you attempt to do if you knew you could not fail?

-----------------------------------
mayura
Participant
Posts: 40
Joined: Fri Aug 01, 2008 5:58 am
Location: Mumbai

Post by mayura »

mk_ds09 wrote:Before running query you have to check for UV command.
You need to setup the datastage enviormental variable.
And if there are multiple projects, you have to logon on those projects and then you can check the job specific properties as well..

One UV is set, you can query datastage tables to get the details of the job.

If your job is not present , query will fail ..

Hope this helps

thx .. but still me not satisfied with result... will search .. lets see.. :roll:
Mayura
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Roll your eyes all you like, that *is* your answer. Search the forum for "dssh" to find examples how to fire that Universe query from the command line, the exact same query you would use at a TCL prompt or from the Administrator client.

And don't forget you can always use the Director for this - filter based on the job name and turn off the display of categories and it will find it for you.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Given that you have version 8, you also have Quick Find and Advanced Find in the Designer client.
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