Dataset files - same name in different output folders

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
Titto
Participant
Posts: 148
Joined: Tue Jun 21, 2005 7:49 am

Dataset files - same name in different output folders

Post 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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

No problem, the names in the data folder will be unique.
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Dataset files - same name in different output folders

Post 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.
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
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