One physical file as lookup file and also output of job?????

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
akash_nitj
Participant
Posts: 27
Joined: Fri Aug 13, 2004 3:36 am
Location: INDIA

One physical file as lookup file and also output of job?????

Post by akash_nitj »

Hello Guys
Is it possible in datastage wherein i have a one physical file ( say dataset) which is used as lookup file in a job and in the same job we are doing some write operation in same dataset. Will there be any data quality issues in this front ?

TIA
akash
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Since datasets are not true database files but a structure with sequential files you cannot really do this; if the files are opened for "read" by one process then another cannot get "write" access concurrently.
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

Correct.

You could just save it as a separate dataset file.

Also please note: Dataset does not compromise only one file. It's one header file, and a set of data files, with locations usually defined in the configuration file (it's possible to use other configurations for specific datasets.)
Post Reply