How to find a String in Datastage job

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
deepag
Participant
Posts: 5
Joined: Wed Jul 11, 2012 9:18 am

How to find a String in Datastage job

Post by deepag »

HI- I am trying to find a string like 'PSEUDO' in my whole list of DS jobs.
I need to know about all the transfromations and corresponding job names in which the string is used. Is there any option to do the string search in Datastage?

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

Post by ray.wurlod »

Use Quick Find and search for *PSEUDO*
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
deepag
Participant
Posts: 5
Joined: Wed Jul 11, 2012 9:18 am

To search for 'PSEUDO' in each column logic in DS jobs

Post by deepag »

I wanted to search for word 'PSEUDO' whether it is used in any of the column logic or stage variables logic in all the DS jobs
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Then search an export (DSX) file, or query the DS_JOBOBJECTS table from within the dssh environment. Note that DataStage SQL identifiers are case sensitive.

Code: Select all

SELECT * FROM DS_JOBOBJECTS WHERE EVAL "@RECORD" LIKE '%PSEUDO%';
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dongyingying
Participant
Posts: 35
Joined: Tue Feb 07, 2012 2:28 am
Location: China BeiJing

Post by dongyingying »

I agree with ray
Dong Ying Ying Come on.
Post Reply