Why does importing sas code also need to execute it?
Can I skip the execution of the SAS code when importing the code?
If the SAS code takes 1 hour to run and I have n files to import it will take (n x 1) hours.:smileyshocked:
I already know the .sas code is perfect and will run. :smileylaugh:
Yes, you could wish for a more syntax analyzing import rather than a full execution.
Consider to add a options obs= in your code, which you could remove after the import.
A good point. Execution with less observations will run faster.
However an EG file with somewhere "proc SQL; drop table; create table as select * from other table;" does a lot of "damage" if just imported in the wrong server environment.
This is typically part of a development process, and should NOT be done in prod environment.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.