DATA Step, Macro, Functions and more

.SAS files

Accepted Solution Solved
Reply
Contributor
Posts: 51
Accepted Solution

.SAS files

SAS Community,

 

How would you open a .sas file in another program like notepad or Microsoft word?  Is it possible to do this on a apple computer?  I can't seem to open it.

 

 


Accepted Solutions
Solution
‎10-04-2017 01:41 PM
Valued Guide
Posts: 596

Re: .SAS files

Posted in reply to Wafflecakes

I believe Notepad++ is Windows only - on a Mac you can use the built-in TextEdit program or any other text editor

View solution in original post


All Replies
Super User
Posts: 10,530

Re: .SAS files

Posted in reply to Wafflecakes

Just use File-Open, as always. .sas files are pure text, any text editing tool can handle them. What is your problem?

 

Advice on using notepad++ for SAS programs can be found here: https://communities.sas.com/t5/Administration-and-Deployment/How-to-setup-notepad-as-SAS-text-editor...

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Contributor
Posts: 51

Re: .SAS files

Posted in reply to KurtBremser

The shortcut on the desktop appears as a white piece of paper.  I dont have any SAS programs on my computer.

Super User
Posts: 10,530

Re: .SAS files

Posted in reply to Wafflecakes

If you neither have EG or Base SAS installed on your computer, use the standard way to associate a type of files with a program.

The link I gave you in the previous post describes this.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Contributor
Posts: 51

Re: .SAS files

Posted in reply to KurtBremser
I reviewed the document that you sent Kurt - does this apply to mac/apple computers as well? Looks like it only applies to windows
Solution
‎10-04-2017 01:41 PM
Valued Guide
Posts: 596

Re: .SAS files

Posted in reply to Wafflecakes

I believe Notepad++ is Windows only - on a Mac you can use the built-in TextEdit program or any other text editor

Super User
Posts: 10,530

Re: .SAS files

Posted in reply to Wafflecakes

Wafflecakes wrote:
I reviewed the document that you sent Kurt - does this apply to mac/apple computers as well? Looks like it only applies to windows

How to associate filetypes with apps on OSX can be found here, for example.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 166 views
  • 0 likes
  • 3 in conversation