Updating Techniques - Lookup Data [Reference]

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

Updating Techniques - Lookup Data [Reference]

Post by vijayrc »

Hi,
I would like to know, how any static data file used in reference be updated in DataStage? Does DS have any mechanism to update, or any third party tool to be used for such updates. Any directions on this, is appreciated. Thanks in advance, Vijay
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

What is your lookup data stage. You need to have a seperate flow in datastage to update the information of the static file. If the inputs are from third party, or web oriented, you need to capture it and place it in a common folder with a predefined filename, either in flatfile or in any database. So that datastage can read and update the the lookup file.
If you need to update the lookup file based on the input, it has its own flow.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There's a logical inconsistency in your question. If it's static then surely there's no need to update it? Am I missing something here?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vijayrc
Participant
Posts: 197
Joined: Sun Apr 02, 2006 10:31 am
Location: NJ

Post by vijayrc »

ray.wurlod wrote:There's a logical inconsistency in your question. If it's static then surely there's no need to update it? Am I missing something here? ...
Sorry if I had not been clear. Say I have a reference file, which is going to be static e.g., Item# 222222 Description: Pencil which next month could be PEN. When such a change is needed, should the static reference file be updated using a separate adhoc flow, or is there any DS option/3rd Party tool available to update the reference file. Hope I made it clear.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Parallel jobs are not equipped to do this kind of real-time updating without running in sequential mode and using auto-commit, both of which slow things down. It is regarded as a "blocking" activity. Also, you will not be able to get it to work with virtual Data Sets, so you're pretty much constrained to sparse lookups.

If the volume of data is not too great, what you are seeking to do is easily accomplished using a server job.

As far as I am aware there are not third party tools for maintaining lookups in near real time.

The SCD stage in the next ("Hawk") release will help.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply