file search

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
koolsun85
Participant
Posts: 36
Joined: Tue Jun 15, 2010 3:30 pm
Location: Tampa

file search

Post by koolsun85 »

Hello everyone,
I have a mainframes file as "sample.dat "
I need to know the jobs which uses this particular file.
Need a command in ds admin for this search.

Thanks in advance.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

If you have stored the metadata you can search and locate it from Repositry with the help of Usage Analysis itself.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
koolsun85
Participant
Posts: 36
Joined: Tue Jun 15, 2010 3:30 pm
Location: Tampa

Post by koolsun85 »

If it is stored before then we can...
But if it is not stored previously then how can we search through command line.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

SELECT NAME FROM DS_JOBS WHERE JOBNO IN (SELECT DISTINCT OBJIDNO FROM DS_JOBOBJECTS WHERE OLETYPE LIKE '%put' AND EVAL "@RECORD" LIKE '%sample.dat%');
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