BookmarkSubscribeRSS Feed
Loko
Barite | Level 11

Dear All,

 

Is there a method / plug in to automatically mapping a lot of DDS tables with their corresponding sources?

Take into account that variable names is different in DDS tables and sources.

 

WE are in the process of building our DW having a lot of sources which need to be transposed in DDS tables.

The classic method we know is to create jobs for each DDS table and manually map the fields from the interface (using mapping tab from Table Loader Transofrmation).

Since we have a lot of DDS tables and sources (around 150) manually mapping them is quite hard.

 

I think we can use User Written Code to map them but this will not generate the mapping interface that the Table Loader Transofrmation does , thus the maintenance of the model becoming hard.

 

What we are looking for is a method to automatically map them as well as generating the interface mapping from Table Loader Transofrmation.

 

We use SAS DI 4.901.

 

10x

3 REPLIES 3
LinusH
Tourmaline | Level 20

Hi Loko,

can you please define "automatically".

I know that there are quite a few "mapping" tolls on the market, but non of them (to my knowledge) support generating of SAS DI flows. You could probably do this by updating metadata problematically - but that will probably be much more time consuming that just get started building your flows the standard way.  

 

Having jobs for each DDS table is normal, and 150 is not that large. Usually at least from the loading part perspective, you can usually have 2-3 standard types of loading (SCD, Upsert, append/insert), so you can build some rough templates for that.

 

What do you mean it's hard? Because it's so many? If the business logic is complicated, you can't definitely not automate this...

 

Do not use User Written! That's even harder than using standard transformations. If you mainly have 1-1 you just point and click.

 

Do you have overlapping source systems (like different customers from different systems), you can map the sources to a common stage table, and then have just one DDS load job.

 

What do you really mean by "What we are looking for is a method to automatically map them as well as generating the interface mapping from Table Loader Transofrmation."?

 

Perhaps you need to describe more about your challanges, DW architecture etc.

 

Data never sleeps
Loko
Barite | Level 11

Hello Linus,

 

Our flows start with the Extract phase where we load the numerous *.txt into sas tables. This is not difficult and we can easily do it.

 

After that comes the Transformation phase where we have to map the columns...So we have Table Loader transformation where we manually map the columns from the loaded tables to DDs Tables. This is the difficult part because of the many tables we have to manually map ; that's why i asked if there is a plug-in which can mimic the Table Loader transformation behaviour , thus generating 150 jobs which will load the data.

 

10x

LinusH
Tourmaline | Level 20

Oh, so you wished for a tool that worked like Table Loader, but for meta data...

As of my first reply, there are no such tool AFAIK.

But if the logic in mapping columns in those jobs are not complex, I still think it's easier to this in DIS rather writing SAS programs, so...

 

But since there are mapping tools with support for other vendors like Informatica, IBM Data Stage etc it would be a great if SAS (or any other 3rd party vendor) could supply such functionality for DI Studio.

Data never sleeps

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1363 views
  • 0 likes
  • 2 in conversation