Append in a lookup fileset

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
kruthika
Participant
Posts: 21
Joined: Mon May 31, 2004 11:14 pm

Append in a lookup fileset

Post by kruthika »

Hi,
Can I append a lookup fileset in a parallel job...
I am having a sequential file as input and the data in it needs to be appended in a lookup fileset.Is it possible to append a lookupfileset.

Can any one suggest me a way to append data from a sequential file to a lookup or lookupfileset so that this lookup will act as future reference

Thanks!!
Kruthika
pramod_au
Participant
Posts: 30
Joined: Thu Feb 06, 2003 8:30 am
Location: London,UK

Re: Append in a lookup fileset

Post by pramod_au »

Yes u can append a lookup file.

1. Create Hash file which reads from the input sequential file. This hash file is used as a reference.
2. Create a new job which checks for the new records against the above hash file. If the record is new, then it is inserted into the Hash file.

While designing the above job we need to take care of the following things:

1. Hash file name should be the same.
2. Cache should not be used.

kruthika wrote:Hi,
Can I append a lookup fileset in a parallel job...
I am having a sequential file as input and the data in it needs to be appended in a lookup fileset.Is it possible to append a lookupfileset.

Can any one suggest me a way to append data from a sequential file to a lookup or lookupfileset so that this lookup will act as future reference

Thanks!!
Thanks
Pramod
kruthika
Participant
Posts: 21
Joined: Mon May 31, 2004 11:14 pm

Post by kruthika »

Thanks for ur response!!

But there is no hash file stage in px parallel job...
then how can i create a hash file??
Kruthika
Post Reply