hello,
I have found the following, however when I am pasting it to SAS Studio, it considers it as comment. Pls advise.
*';*";*/;run;
@PaigeMiller , by default SAS Studio already runs that code. All it's doing is ending anything you might miss in your code so SAS doesn't get stuck running. I call it "Saving you from yourself". Can I ask, why are you trying to use it?
To see that it's already running in the background you can do the following:
1. Go to More application options at the top of SAS Studio and select Preferences
2. Select Code and Log in the options pane, then add a check to Show generated code in the SAS log.
3. Then run any program and view the log. That'll show that it's already running at the end of your code by default. Again, saving you from yourself.
Honestly, don't worry about it when using SAS Studio. Also no need to type that string yourself.
After that go back to the options and uncheck that box. No need to see that code. All it does is add unnecessary text to your log.
- Peter
What do you want to do with this?
when I fogot to put semicolon at the end of procedure, SAS needs magic string to reset. Do you how to do it?
As I have used the "magic string", it looks like this:
%mend;
;*';*";*/;quit;run;
@PaigeMiller , by default SAS Studio already runs that code. All it's doing is ending anything you might miss in your code so SAS doesn't get stuck running. I call it "Saving you from yourself". Can I ask, why are you trying to use it?
To see that it's already running in the background you can do the following:
1. Go to More application options at the top of SAS Studio and select Preferences
2. Select Code and Log in the options pane, then add a check to Show generated code in the SAS log.
3. Then run any program and view the log. That'll show that it's already running at the end of your code by default. Again, saving you from yourself.
Honestly, don't worry about it when using SAS Studio. Also no need to type that string yourself.
After that go back to the options and uncheck that box. No need to see that code. All it does is add unnecessary text to your log.
- Peter
@Panagiotis wrote:
@PaigeMiller , by default SAS Studio already runs that code. All it's doing is ending anything you might miss in your code so SAS doesn't get stuck running. I call it "Saving you from yourself". Can I ask, why are you trying to use it?
I am not using SAS Studio, I am using Base SAS.
Hi @PaigeMiller ,
In your first post you mention SAS Studio
hello,
I have found the following, however when I am pasting it to SAS Studio, it considers it as comment. Pls advise.
Do you mind inserting a quick image of where you are using SAS for confirmation?
- Peter
@Panagiotis wrote:
Hi @PaigeMiller ,
In your first post you mention SAS Studio
I did not. Someone else mentioned SAS Studio.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.
Find more tutorials on the SAS Users YouTube channel.