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.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.
Find more tutorials on the SAS Users YouTube channel.