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!
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! 🙂
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.