03-22-2018 03:03 PM
my results tab is completely blank. I get this in my long.
previously, this was just occurring with my macros statement, however, now it's happening even within the data step.
03-22-2018 03:13 PM
Set PARAM=REF on your class statement. As shown, it won't apply to your macro variable.
class smokecat (ref='0') &var / param=ref;
I don't see anything in your code that's problematic, I would expect restarting SAS would help.
If you're using SAS UE, I've seen this before and it has nothing to do with your code but I don't know what causes it either. It usually doesn't affect me getting results though, so if you're not seeing anything that's problematic. You could try using a different ODS destination and seeing if that helps?
%macro logistic (var); proc logistic data=cca desc; class smokecat (param=ref ref='0') &var; model tbcat=smokecat &var; run; %mend; ods html file='/folders/myfolders/demo.html' style=meadow; ods excel file = '/folders/myfolders/demo.xlsx' style=meadow; %logistic (agecat); %logistic (gender); %logistic (racecat); %logistic (income); %logistic (education); %logistic (bornus); %logistic (farm_wkr); ods html close; ods excel close;
03-22-2018 03:26 PM
03-22-2018 03:42 PM
Run it step by step and isolate where the problem starts and tell us that. Or provide sample data so we can run your code.
SAS UE is a free learning edition of SAS, University Edition.
Are you getting results before this message?
Maybe post your full log as well.
03-22-2018 03:57 PM
This is the entire log running the data step only:
03-22-2018 04:09 PM
So it looks like you're using SAS Academics on Demand with SAS Studio.
The error is not with your code, it's an issue with SAS but that is a NOTE and shouldn't affect you getting results in any way.
I don't think your two issues are related here, they could be, but I suspect not.
For the first issue, contact firstname.lastname@example.org to let them know of the issue, and you can probably include the link to this thread.
Or perhas @ChrisHemedinger has an alternative solution.
Your code shows no results from the log below because you didn't run anything that would have generated results.
03-22-2018 05:29 PM
I don't see anything wrong in the log either. Are you enrolled in a class that has a predefined library? There could be something with that setup that is causing this. Any other classmates experiencing the same?
I'll move this to the SAS Analytics U forum. A tech support consultant might chime in, but if it's a continuing issue you can track with SAS Tech Support.
To disable this warning (not really a solution), run:
03-22-2018 04:10 PM
Do you have AUTOEXEC code defined? Perhaps that is where the unbalanced quote is?
Otherwise it looks like something is wrong with the code that SAS/Studio is generating and you might need to talk to your site admin or SAS support.
03-22-2018 04:18 PM
i'm not familiar with AUTOEXEC code?
What is that? How do I define it?
Autoexec is code that will run automatically when you start SAS. You could add specific option or libname statements or formats that would then be ready when you're working without having to explicitly call or define them every time.
03-22-2018 05:26 PM
The NOTE is a clear sign that you have unbalanced quotes somewhere upstream in code that was sent to the workspace server.