BookmarkSubscribeRSS Feed
orzel299
Calcite | Level 5

Hi guys,

 

I'm working with SAS programs using SAS Studio, my colleague preffers Enterprise Guide as te editor. Those two use different line ending styles, so whenever we modify a single program it makes it really hard to track changes we've made, since source control highlights the whole file due to the change in line endings. Can I change the way SAS Studio handles new lines? (Unix->Windows).

3 REPLIES 3
Kurt_Bremser
Super User

When you save SAS codes from EG to the UNIX server (using Files in the Server List), the files are written with UNIX-style LF as line separators. So you should set up a shared location on the server, accessible by both of you, as a program repository.

That also adds the advantage that your work will be protected by the server's backup system (desktops often have no backup implemented).

orzel299
Calcite | Level 5

If I understand correctly, this is the way we do it,however it's a Windows based server.

Kurt_Bremser
Super User

@orzel299 wrote:

... however it's a Windows based server.


Ouch.

 

Since even my old friend google couldn't come up with an answer, I suggest opening a track with SAS technical support. Maybe they can find an option that makes Studio write DOS-style files.

sas-innovate-2024.png

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.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 811 views
  • 2 likes
  • 2 in conversation