BookmarkSubscribeRSS Feed
strsljen
Obsidian | Level 7


Hi,

I have a physical table between two SQL extract operations. I would like to change it with work table without losing transformation definitions.

 

I have:
extract_1 -> physical table -> extract_2

 

I would like to have:
extract_1 -> work_table -> extract_2

 

Is that possible and how?
When I just delete physical table, create work table and reconnect, I lose some mappings.

 

Thanks in advance!

--
Mario
3 REPLIES 3
LinusH
Tourmaline | Level 20
What do you mean by work table? A non metadata registered table?
Unfortunately there is no bullet proof method AFAIK.
Before deleting the "physical table" just try to move the connectors, other than that...
Data never sleeps
strsljen
Obsidian | Level 7

Hi,

 

Yes, that is correct. Default output from extract job is a work table. It is quite easy to convert on the fly from work table to proper SAS table without break transformation rules in the next connected step.

 

However, I didn't find proper "undo" option. When I delete SAS table I have to manually create work table (right click on step1 extract job and select "Create work table") and then manually connect it to extract in step2.

By doing that mappings get pretty much smashed, on both step1 and step2 extracts.

 

There is an "Replace" option on the SAS table, but I didn't find the option to replace SAS table with work table, only with some other table from the SAS libraries.

 

So far I am doing manual crunching on each of that example where I need to remove SAS table. No need to point out I am not particularly happy about it. 🙂

So if there is a better way, please, enlighten me! 🙂

 

 

--
Mario
LinusH
Tourmaline | Level 20
Well don't first delete, and the undo option is to undo check out.
Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

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