Need logic to read sequentially

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
vishu19aug
Participant
Posts: 39
Joined: Mon Feb 13, 2012 1:30 pm

Need logic to read sequentially

Post by vishu19aug »

Hi,

I have the following logic to compare data with previous row -

Stagevar1 = input.name
stagevar2 = (if stagevar1 = stagevar3 then 1 else 0)
stagevar3 = stagevar1

The problem is - It needs the file to be sorted on field name. I just want the parallel job to read the records sequentially without any sort and output the result.

Any help is really appreciated.

Thanks,
Vishal Gupta
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Single node perhaps
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
vishu19aug
Participant
Posts: 39
Joined: Mon Feb 13, 2012 1:30 pm

Post by vishu19aug »

DSguru... I am very new to Datastage.. Can you please give any example or pointers for Single node.
vishu19aug
Participant
Posts: 39
Joined: Mon Feb 13, 2012 1:30 pm

Post by vishu19aug »

I changed the properties of the transformer to run it sequentially .. and it is working now ..
Post Reply