search a job name
Moderators: chulett, rschirm, roy
search a job name
A simple question - Is there a way to search a job by its name.
I am trying to save a job by particular name and it says the job name already exists. I am trying to find the already existing job, already spent lot of time on it and yet unable to find the job.
Is there a way to search Job Name, just like FIND in MSOffice.
-Thanks
I am trying to save a job by particular name and it says the job name already exists. I am trying to find the already existing job, already spent lot of time on it and yet unable to find the job.
Is there a way to search Job Name, just like FIND in MSOffice.
-Thanks
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
Go to DataStage Administrator and execute this in the command, you will gets the job's location
Code: Select all
select * from DS_JOBS where NAME = '<JobName>'
Narasimha Kade
Finding answers is simple, all you need to do is come up with the correct questions.
Finding answers is simple, all you need to do is come up with the correct questions.
-
- Premium Member
- Posts: 503
- Joined: Wed Jun 29, 2005 8:14 am
Re: search a job name
VSI ,
I do not know about UNIX but it is very much possible in Windows.
Go to Ascential Admin and from there to command Type the follwing query --
Select * from DS_JOBS WHERE NAME LIKE "%<JOB_NAME>%.
I do not know about UNIX but it is very much possible in Windows.
Go to Ascential Admin and from there to command Type the follwing query --
Select * from DS_JOBS WHERE NAME LIKE "%<JOB_NAME>%.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Open Director in Status view and unselect Show Categories in the View menu. Next time the Director refreshes it will show all jobs, sorted by name, in the one window. The category is in an adjacent column in the grid.
Note that if you sort by Status (click in the grid header to sort) you have a quick mechanism to find all Running jobs, all Aborted jobs, and so on (not all status possibilities are covered in the Filter).
Re-enable Show Categories so that Director refresh does not consume too many resources.
Note that if you sort by Status (click in the grid header to sort) you have a quick mechanism to find all Running jobs, all Aborted jobs, and so on (not all status possibilities are covered in the Filter).
Re-enable Show Categories so that Director refresh does not consume too many resources.
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.
Go to DataStage Administrator and execute this in the command:
select * from DS_JOBS where NAME = 'Arquivo'
Return:
Job name .... Arquivo
Description..
No.............. 55
Category..... Testes
If you don't visualize it in DataStage Manager, you can delete all references of the job with the commands below:
DELETE.FILE DATA RT_CONFIG55
DELETE VOC RT_CONFIG55
DELETE VOC RT_STATUS55
DELETE VOC RT_LOG55
DELETE VOC RT_BP55
DELETE VOC RT_BP55.O
DELETE VOC DS_TEMP55
DELETE VOC RT_SC55
DELETE DS_JOBS Arquivo
SELECT JOBNO, NAME FROM DS_JOBS WHERE NAME = 'Arquivo'
LIST DS_JOBS WITH JOBNO=55
The two last commands return: 0 records listed.
If you need of the job, then try to use the command DS.REINDEX ALL in DataStage Administrator, but make backup of the project before. The problem can be in the index of DataStage.[/code]
select * from DS_JOBS where NAME = 'Arquivo'
Return:
Job name .... Arquivo
Description..
No.............. 55
Category..... Testes
If you don't visualize it in DataStage Manager, you can delete all references of the job with the commands below:
DELETE.FILE DATA RT_CONFIG55
DELETE VOC RT_CONFIG55
DELETE VOC RT_STATUS55
DELETE VOC RT_LOG55
DELETE VOC RT_BP55
DELETE VOC RT_BP55.O
DELETE VOC DS_TEMP55
DELETE VOC RT_SC55
DELETE DS_JOBS Arquivo
SELECT JOBNO, NAME FROM DS_JOBS WHERE NAME = 'Arquivo'
LIST DS_JOBS WITH JOBNO=55
The two last commands return: 0 records listed.
If you need of the job, then try to use the command DS.REINDEX ALL in DataStage Administrator, but make backup of the project before. The problem can be in the index of DataStage.[/code]
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not enough!
Before removing the DS_JOBS entry you will need to remove all its children from DS_JOBOBJECTS.
Warning
Any damage you inflict upon Repository tables is not covered by warranty. Make sure you have good backups, in case you make an error.
Before removing the DS_JOBS entry you will need to remove all its children from DS_JOBOBJECTS.
Code: Select all
DELETE FROM DS_JOBOBJECTS WHERE OBJIDNO = (SELECT JOBNO FROM DS_JOBS WHERE NAME = 'Arquivo');
Any damage you inflict upon Repository tables is not covered by warranty. Make sure you have good backups, in case you make an error.
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.