We have an Oracle OLAP database that contains all historical data garthered through our daily transactional processings and is updated every morning. We've also built a suite of reports that use the oracle tables as source tables.
What we're noticing is that the LASR tables do not update automatically each morning, we've found that we need to manually open up the administration view and unload/reload each table.
Is there a process or a system of processes we can use that will keep the LASR tables up to date with the Oracle tables?
I've come across that procedure, but I wasn't sure where to place that. Do I schedule that in the Enterprise Guide?
You can also use other usual processes to update LASR tables like PROC DATASETS and DATA steps. The trick here is to make sure that the table metadata also remains in synch for which I use PROC METALIB.
This seems to be it.
We're using Python to do control the ETL - is it possible for me to call SAS script from the command prompt? I know that I could do that typically with SAS installed locally on my machine, but with SAS VA I'm unsure.
I don't suppose you or anyone has any insight into that?
Thanks so much for your replies!
Yes, you can call SAS in batch mode. That's what every single scheduler does so it's BAU.
To call SAS from a command prompt: You need the prompt on the machine where the SAS server sits (i.e. via Putty for a Unix/Linux distribution).
If I'm not mistaken then a VA instance also comes with the related SAS Compute modules licensed and installed and I believe PROC IMSTAT should be available.
http://support.sas.com/documentation/onlinedoc/va/7.3/en/vaicg.pdf
@Patrick that's great info, thanks so much - but it looks like that link is broken?
Try this link, Djones4822 (without the http://).
support.sas.com/documentation/onlinedoc/va/7.3/en/vaicg.pdf
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.