UTILITY for viewing data Selectively using a criteria

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
vijayrc
Participant
Posts: 197
Joined: Sun Apr 02, 2006 10:31 am
Location: NJ

UTILITY for viewing data Selectively using a criteria

Post by vijayrc »

Hello All,
To help debug, we have lot of COPY stages and written to Datasets. I can always View this dataset in full. But from this dataset, if I need to selectively view, it isn't possible. How do I go about this.
One way I can do is copy this Dataset to a Sequential File, and once in Sequential File, Is there any available utility/tools available to selectively view certain criteria ???
Thanks in advance
Vijay
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

Post by splayer »

You can do:

orchadmin dump YourDS.ds SeqFile.txt

which puts your dataset in a sequential file. You can then use Unix commands to view specific rows.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Or write a simple job with the dataset as the source, a constraint stage (perhaps a condition in a transform) and then output to a peek stage.
vijayrc
Participant
Posts: 197
Joined: Sun Apr 02, 2006 10:31 am
Location: NJ

Post by vijayrc »

ArndW wrote:Or write a simple job with the dataset as the source, a constraint stage (perhaps a condition in a transform) and then output to a peek stage. ...
Thank You Sir, That was my original thought, but I'm trying to see if there are other ways of getting around this...Thanks again
purush
Participant
Posts: 16
Joined: Sat Nov 25, 2006 5:34 am
Location: Hyderabad

Any Simple way to convert .txt file to a .ds file

Post by purush »

We are making a Job to read data from a .txt file and write it to a .ds file and using the dataset.

Is there any simpler way to do this,as orchadmin is there to copy .ds file to a .txt file.

Need Suggestions........
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I highly doubt it. You have to build a job as far as I know.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply