An issue where we are seeing saved SAS codes getting cleared or emptied on a random basis
We are using SAS EG7.1. SAS codes resides in LINUX platform(server)
I have observed that, if a server connection crashes while Enterprise Guide has a project file opened (that is stored on the server), the project file may be damaged (empty, size zero).
But I never had problems with .sas files, as those are simple text.
I therefore recommend to store projects locally (while working on them) and make occasional copies to the server.
How do you save your SAS programs to your linux server from EG? Do a File Save in EG via a network share or by some other means?
For shared codes, I strongly recommend to use a versioning control system instead of just editing the codes in place. Your problems might come from concurrent accesses to files.
Thanks for reply.
Can you also let me know, how to implement versioning control system for shared codes.
There is a universe of VCS's out there: https://en.wikipedia.org/wiki/List_of_version_control_software
What suits your needs must be decided upon in your organisation.
I'm not one who runs the VCS, I just use it. And ours is mainframe-based at the moment.
SAS Enterprise Guide has integrated support for Git, including repositories like Github. See this blog post for some more details.
Aside from Git integration, you can use standard source control systems with file-system integration along side SAS and SAS Enterprise Guide. Here's another article about that.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.