How to search a particular record/row in a Dataset

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
neeharika
Participant
Posts: 2
Joined: Wed Jul 27, 2011 6:17 pm

How to search a particular record/row in a Dataset

Post by neeharika »

Hi ,

I am new to Datastage. I have a job where the ouput stage is a dataset. The dataset contains millions of records. Now, I want to search a particular record from those million records and check it. Is there a way we can do it?
My problem is because Dataset cannot be viewed outside datastage.

Thanks in advance

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

Post by ray.wurlod »

A Data Set can be viewed outside of DataStage, using the orchadmin command (search DSXchange or the manuals for more information). However there is no scope for selection; you can only read all rows (then, possibly, pass them through a filter of your choice).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

You could create a new job to read the dataset, pass it through a Filter or Transformer stage, and output to Peek or Sequential File stage.
Choose a job you love, and you will never have to work a day in your life. - Confucius
sanjayS
Participant
Posts: 16
Joined: Mon Apr 18, 2011 10:56 pm

Post by sanjayS »

If you know the particular record you want, you can search using the Find option which appears once dataset is opened.

Thanks,
Sanjay.
Post Reply