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?