BookmarkSubscribeRSS Feed
msjkp
Calcite | Level 5

Is it possible to edit a plain text file (i.e., not a SAS program) in SAS Studio? I'm using SAS Studio as my interface to a SAS grid running on Linux. I can certainly create and edit a new text file, but it appears that I can only save it with the .sas extension. I could save it that way and then run a SAS program to change the file suffix (e.g., using an OS command via filename PIPE), but that seems like an overly complex way to go about this. Is it possible to save the file directly some SAS Studio?

 

 

2 REPLIES 2
Kalind_Patel
Lapis Lazuli | Level 10

You cannot directly save SAS Codes to the txt files,
but as we know, sas files are just text files, you can create cronjob, which runs every time when your folder/files have any change, which copies new sas files to another directory by changing the extension from .sas to .txt.

Reeza
Super User

At this time, SAS Studio does not support edit functionality for text files. You can view them, by right clicking and View as text file. 

 

If this is a feature you'd like, please add it to the SAS Ballotware here:

 

https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas

 


@msjkp wrote:

Is it possible to edit a plain text file (i.e., not a SAS program) in SAS Studio? I'm using SAS Studio as my interface to a SAS grid running on Linux. I can certainly create and edit a new text file, but it appears that I can only save it with the .sas extension. I could save it that way and then run a SAS program to change the file suffix (e.g., using an OS command via filename PIPE), but that seems like an overly complex way to go about this. Is it possible to save the file directly some SAS Studio?

 

 


 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1755 views
  • 0 likes
  • 3 in conversation