BookmarkSubscribeRSS Feed
HappySASUE
Quartz | Level 8

I use SAS UE or SAS studio consistently.  Until this morning there is no error or issue and run successfully. However suddenly the program stop run and give me "Note", please see example of SAS code and log file below. it runs half code after I restart SAS studio, but stop around half of code. this is very frustrating, I can't have my any work done. 

All my codes are untouched, why it runs a second ago but stop this time?  I uninstall and install the newest version of virtualBox (VirtualBox-5.2.6-120293-Win) and SAS (unvbasicvapp__9411011__ova__en__sp0__1), still doesn't run.  Anybody has the same issue? how to handle it? 

I attached SAS and log file for illustration purpose. 

 

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
2 TITLE;
3 FOOTNOTE;
4 OPTIONS LOCALE=en_US DFLANG=LOCALE;
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
5 DATA _NULL_;
6 RUN;
7 OPTIONS VALIDVARNAME=V7;
8 OPTIONS VALIDMEMNAME=COMPAT;
9 FILENAME _HTMLOUT TEMP;
10 FILENAME _RTFOUT TEMP ENCODING='UTF-8';
11 FILENAME _PDFOUT TEMP;
12 FILENAME _GSFNAME TEMP;
13 FILENAME _DATAOUT TEMP;
14 %LET SYSCC=0;
15 %LET _CLIENTAPP='SAS Studio';
16 %LET _CLIENTAPPABREV=Studio;
17 %LET _CLIENTAPPVERSION=3.7;
18 %LET _CLIENTVERSION=3.7;
19 %LET _CLIENTMODE=basic;
20 %LET _SASSERVERNAME=%BQUOTE(localhost);
21 %LET _SASHOSTNAME=%BQUOTE(localhost);
22 %LET _SASPROGRAMFILEHOST=%BQUOTE(localhost);
23 %LET _CLIENTUSERID=%BQUOTE(sasdemo);
24 %LET _CLIENTUSERNAME=%BQUOTE(sasdemo);
25 %LET CLIENTMACHINE=%BQUOTE(10.0.2.2);
26 %LET _CLIENTMACHINE=%BQUOTE(10.0.2.2);
27 %let SASWORKLOCATION="%sysfunc(getoption(work))/";
28 FILENAME _CWD '.';
29 DATA _NULL_;
30 CALL SYMPUT('_SASWORKINGDIR',PATHNAME('_CWD'));
31 RUN;
32 FILENAME _CWD;
33
34 %LET _SASPROGRAMFILE = %NRQUOTE(%NRSTR(/folders/myfolders/Questions/NOTE 49-169.log));
35 %LET _BASEURL = %BQUOTE(http://localhost:10080/SASStudio/);
36 %LET _EXECENV=SASStudio;
 
_________________________________________________________________________________________________________________________________________________________________________________________
49
 
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release. Inserting white space between a quoted string and the succeeding identifier is recommended.
 
2 REPLIES 2
Tom
Super User Tom
Super User

Sounds like you have unbalanced quotes (or parentheses or %macro/%mend ...) and it is causing SAS to get confused.

Reset the server session and start over. 

If you cannot locate the problem then submit the program in pieces until you locate it.

 

Note there is no reason to add macro quoting around this string literal. It already has regular quotes!

%let sasmono=formchar='82838485868788898A8B8C2B3D7C2D2F5C3C3E2A'X;

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

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1427 views
  • 0 likes
  • 2 in conversation