BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
smokinjack1559
Fluorite | Level 6

When I run this statement in SAS studio:

%let fullname=AnTHoNY MilLeR;

I get these errors: 

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
2 TITLE;
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
3 FOOTNOTE;
4 OPTIONS LOCALE=en_US DFLANG=LOCALE;
5 DATA _NULL_;
6 RUN;
7 OPTIONS VALIDVARNAME=ANY;
ERROR: Open code statement recursion detected.
8 OPTIONS VALIDMEMNAME=EXTEND;
9 FILENAME _HTMLOUT TEMP;
10 FILENAME _GSFNAME TEMP;
11 FILENAME _DATAOUT TEMP;
12 %LET SYSCC=0;
 
__________________________________________________________________________________________________________________
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.
 
13 %LET _CLIENTAPP='SAS Studio';
14 %LET _CLIENTAPPABREV=Studio;
15 %LET _CLIENTAPPVERSION=3.8;
16 %LET _CLIENTVERSION=3.8;
17 %LET _CLIENTMODE=wip;
18 %LET _SASSERVERNAME=%BQUOTE(SASApp);
19 %LET _SASHOSTNAME=%BQUOTE(odaws02-usw2-2);
20 %LET _SASPROGRAMFILEHOST=%BQUOTE(odaws02-usw2-2);
21 %LET _CLIENTUSERID=%BQUOTE(u61550673);
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
22 %LET _CLIENTUSERNAME=%BQUOTE(u61550673);
23 %LET CLIENTMACHINE=%BQUOTE(C-98-35-126-176.HSD1.CA.COMCAST.NET);
24 %LET _CLIENTMACHINE=%BQUOTE(C-98-35-126-176.HSD1.CA.COMCAST.NET);
25 %let SASWORKLOCATION="%sysfunc(getoption(work))/";
26 FILENAME _CWD '.'
_
49
26 ! ;
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.
 
27 DATA _NULL_;
28 CALL SYMPUT('_SASWORKINGDIR',PATHNAME('_CWD'));
____________
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.
 
29 RUN;
30 FILENAME _CWD;
31
32 %LET _SASPROGRAMFILE = %NRQUOTE(%NRSTR(/home/u61550673/EMC1V2/practices/m103p01.sas));
34 %LET _EXECENV=SASStudio;
35 DATA _NULL_;
36 CALL SYMPUT("GRAPHINIT","");
37 CALL SYMPUT("GRAPHTERM","");
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
28 CALL SYMPUT('_SASWORKINGDIR',PATHNAME('_CWD'));
____
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.
 
38 RC=TSLVL('SASXGOPT','N');
39 _ERROR_=0;
40 IF (RC^=' ') THEN DO;
41 CALL SYMPUT("GRAPHINIT","GOPTIONS RESET=ALL GSFNAME=_GSFNAME;");
42 CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;");
43 END;
44 RUN;
45 DATA _NULL_;
46 RC=SYSPROD("PRODNUM002");
47 IF (RC^=1) THEN DO;
48 CALL SYMPUT("GRAPHINIT","");
49 CALL SYMPUT("GRAPHTERM","");
50 END;
51 RUN;
52 %LET _DATAOUT_MIME_TYPE=;
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
53 %LET _DATAOUT_NAME=;
54 %LET _DATAOUT_TABLE=;
55 %LET _DATAOUT_URL=;
56 %SYMDEL _DATAOUT_MIME_TYPE _DATAOUT_NAME _DATAOUT_URL _DATAOUT_TABLE;
57 %LET _SASWS_ = %BQUOTE(/home/u61550673);
40 IF (RC^=' ') THEN DO;
___________
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.
 
58 %LET _SASWSTEMP_=%BQUOTE(/home/u61550673/.sasstudio/.images/59ceb128-ade3-402b-b222-3b8792c0a9b0);
59 ODS LISTING CLOSE;
60 ODS AUTONAVIGATE OFF;
61 ODS GRAPHICS ON;
62 ODS HTML5 (ID=WEB) DEVICE=PNG GPATH="&_SASWSTEMP_" ENCODING=utf8 FILE=_HTMLOUT (TITLE='Results:
62 ! m103p01.sas') STYLE=Htmlblue OPTIONS(BITMAP_MODE='INLINE' OUTLINE='ON' SVG_MODE='INLINE'
_______________________________________ ___________ ____________
49 49 49
62 ! CSS_PREFIX='.ods_59ceb128-ade3-402b-b222-3b8792c0a9b0' BODY_ID='div_59ceb128-ade3-402b-b222-3b8792c0a9b0' );
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.
 
63 &GRAPHINIT;
64 OPTIONS FIRSTOBS=1;
65 OPTIONS OBS=MAX;
66 OPTIONS DTRESET DATE NUMBER NOTES;
67 OPTIONS NOTES STIMER SOURCE NOSYNTAXCHECK;
68
69 %let fullname=AnTHoNY MilLeR;
70
71 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72 ODS HTML CLOSE;
73 &GRAPHTERM; ;*';*";*/;RUN;QUIT;
74 QUIT;RUN;
75 ODS HTML5 (ID=WEB) CLOSE;
76
77 FILENAME _GSFNAME;
78 DATA _NULL_;
79 RUN;
80 OPTIONS NOTES STIMER SOURCE SYNTAXCHECK;
81
1 ACCEPTED SOLUTION
2 REPLIES 2
Astounding
PROC Star
That line doesn't cause that error. In fact, that line doesn't cause any error. Here are a few items to check.

If you start with a fresh SAS session, is the error still there?

Were there any changes to code that runs before your program such as your autoexec.sas?

Are there any stray characters to the right of the semicolon such as the word %LET being repeated?

Was a semicolon accidentally omitted from a %LET statement?

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Autotuning Deep Learning Models Using SAS

Follow along as SAS’ Robert Blanchard explains three aspects of autotuning in a deep learning context: globalized search, localized search and an in parallel method using SAS.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1325 views
  • 2 likes
  • 3 in conversation