Page 1 of 1

Dataset files - same name in different output folders

Posted: Fri Feb 09, 2007 6:42 am
by Titto
Hi,
Need some information about at situation where wirting a same dataset files in differnt output/target folder
for example I am writing a SampleDataSet.ds in /path/firstenv/SampleDataSet.ds
and the second one with the same name as SampleDataSet.ds in /path/secondenv/SampleDataSet.ds

and i am using the same configuration file and same disk resource
what will happen to the firstenv - SampleDataSet.ds file ???
will it be overritten or can the both dataset files will be available?

Any info is appreciated!

Thanks
Titto

Posted: Fri Feb 09, 2007 10:08 am
by ArndW
No problem, the names in the data folder will be unique.

Dataset files - same name in different output folders

Posted: Fri Feb 09, 2007 2:10 pm
by asorrell
To expand a bit on Arnd's answer...

If you look at the .ds file in each directory (do NOT modify it) you can see that it tracks internal files for each partition (node) that was in use when the dataset was created. They will be different for each of the .ds files, so none of the pieces will overwrite each other.

Posted: Fri Feb 09, 2007 3:46 pm
by ray.wurlod
Use the Data Set Management utility. Choose one node in the top grid, and you will see the pathnames of the segment files in the lower grid. There you will see that DataStage uses a long, complex, generated name to avoid name clashes.