Search for a job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
rcil
Charter Member
Charter Member
Posts: 70
Joined: Sat Jun 05, 2004 1:37 am

Search for a job

Post by rcil »

Hello All,

Which is the easiest way to search for a specific job in a project when you have 50 to 80 categories and more than 400 to 500 jobs.

thanks
bryan
Participant
Posts: 91
Joined: Sat Feb 21, 2004 1:17 pm

Post by bryan »

Thanks to those from whom I learnt

1. SELECT JOBNO from DS_JOBS WHERE NAME='jobname'

from your administrator command GUI or datastage shell

This would ensure that the job is present in repository.


2. dsjob -ljobs projectname>filenamewithpath
//writes all your jobs in

This would write all your jobs in a file.

Do # grep jobname filenamewithpath

ensures that job is present in the project


hope that helps
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post by mhester »

Either from the command window in Administrator or TCL you can enter the following command -

Code: Select all

LIST DS_JOBS = {your_job_name} CATEGORY
Or if you are not sure of the name or want to expand the search you could do -

Code: Select all

LIST DS_JOBS LIKE ...{partial job name}... CATEGORY
lebos
Participant
Posts: 74
Joined: Mon Jan 20, 2003 10:02 am
Location: USA

Post by lebos »

Acutally you can also do it in Director using the filter. I use this frequently.

Larry
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Director also has a search capability (the tool with the binoculars). You can, from the View menu, disable categories, and get all jobs in one large list; the search capability is then guaranteed to find your job (if it exists).
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