I have a problem on input of the enclosed file. What is going on here? There are no tabs unless I missed one.
Error message is
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; 8 OPTIONS VALIDMEMNAME=EXTEND; 9 FILENAME _HTMLOUT TEMP; 10 FILENAME _GSFNAME TEMP; 11 FILENAME _DATAOUT TEMP; 12 %LET SYSCC=0; 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); 20 %LET _SASPROGRAMFILEHOST=%BQUOTE(odaws02-usw2); 21 %LET _CLIENTUSERID=%BQUOTE(u50158717); 22 %LET _CLIENTUSERNAME=%BQUOTE(u50158717); 23 %LET CLIENTMACHINE=%BQUOTE(69.160.252.234); 24 %LET _CLIENTMACHINE=%BQUOTE(69.160.252.234); 25 %let SASWORKLOCATION="%sysfunc(getoption(work))/"; 26 FILENAME _CWD '.'; 27 DATA _NULL_; 28 CALL SYMPUT('_SASWORKINGDIR',PATHNAME('_CWD')); 29 RUN; 30 FILENAME _CWD; 31 NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks. 32 %LET _SASPROGRAMFILE = 32 ! %NRQUOTE(%NRSTR(/home/u50158717/Stat.775.programs/swiss11.v2.sas)); _____________________________________ 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. 33 %LET _BASEURL = %BQUOTE(https://odamid-usw2.oda.sas.com/SASStudio/); 34 %LET _EXECENV=SASStudio; 35 DATA _NULL_; 36 CALL 36 ! SYMPUT("GRAPHINIT" _ 49 36 ! ,""); 37 CALL SYMPUT("GRAPHTERM",""); ______ 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;"); ___ ________________ 49 49 42 CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;"); ___ ___________________________________ 49 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 recommende
I have tried this at least 10 times. It is the data but what about the data ??? Thank you.
data swiss; input type $ length left right bottom top diag; cards; real 214.8 131.0 131.1 9.0 9.7 141.0 real 214.6 129.7 129.7 8.1 9.5 141.7 real 214.8 129.7 129.7 8.7 9.6 142.2 real 214.8 129.7 129.6 7.5 10.4 142.0 real 215.0 129.6 129.7 10.4 7.7 141.8 real 215.7 130.8 130.5 9.0 10.1 141.4 real 215.5 129.5 129.7 7.9 9.6 141.6 real 214.5 129.6 129.2 7.2 10.7 141.7 real 214.9 129.4 129.7 8.2 11.0 141.9 real 215.2 130.4 130.3 9.2 10.0 140.7 real 215.3 130.4 130.3 7.9 11.7 141.8 real 215.1 129.5 129.6 7.7 10.5 142.2 real 215.2 130.8 129.6 7.9 10.8 141.4 real 214.7 129.7 129.7 7.7 10.9 141.7 real 215.1 129.9 129.7 7.7 10.8 141.8 real 214.5 129.8 129.8 9.3 8.5 141.6 real 214.6 129.9 130.1 8.2 9.8 141.7 real 215.0 129.9 129.7 9.0 9.0 141.9 real 215.2 129.6 129.6 7.4 11.5 141.5 real 214.7 130.2 129.9 8.6 10.0 141.9 real 215.0 129.9 129.3 8.4 10.0 141.4 real 215.6 130.5 130.0 8.1 10.3 141.6 real 215.3 130.6 130.0 8.4 10.8 141.5 real 215.7 130.2 130.0 8.7 10.0 141.6 real 215.1 129.7 129.9 7.4 10.8 141.1 real 215.3 130.4 130.4 8.0 11.0 142.3 real 215.5 130.2 130.1 8.9 9.8 142.4 real 215.1 130.3 130.3 9.8 9.5 141.9 real 215.1 130.0 130.0 7.4 10.5 141.8 real 214.8 129.7 129.3 8.3 9.0 142.0 real 215.2 130.1 129.8 7.9 10.7 141.8 real 214.8 129.7 129.7 8.6 9.1 142.3 real 215.0 130.0 129.6 7.7 10.5 140.7 real 215.6 130.4 130.1 8.4 10.3 141.0 real 215.9 130.4 130.0 8.9 10.6 141.4 real 214.6 130.2 130.2 9.4 9.7 141.8 real 215.5 130.3 130.0 8.4 9.7 141.8 real 215.3 129.9 129.4 7.9 10.0 142.0 real 215.3 130.3 130.1 8.5 9.3 142.1 real 213.9 130.3 129.0 8.1 9.7 141.3 real 214.4 129.8 129.2 8.9 9.4 142.3 real 214.8 130.1 129.6 8.8 9.9 140.9 real 214.9 129.6 129.4 9.3 9.0 141.7 real 214.9 130.4 129.7 9.0 9.8 140.9 real 214.8 129.4 129.1 8.2 10.2 141.0 real 214.3 129.5 129.4 8.3 10.2 141.8 real 214.8 129.9 129.7 8.3 10.2 141.5 real 214.8 129.9 129.7 7.3 10.9 142.0 real 214.6 129.7 129.8 7.9 10.3 141.1 real 214.5 129.0 129.6 7.8 9.8 142.0 real 214.6 129.8 129.4 7.2 10.0 141.3 real 215.3 130.6 130.0 9.5 9.7 141.1 real 214.5 130.1 130.0 7.8 10.9 140.9 real 215.4 130.2 130.2 7.6 10.9 141.6 real 214.5 129.4 129.5 7.9 10.0 141.4 real 215.2 129.7 129.4 9.2 9.4 142.0 real 215.7 130.0 129.4 9.2 10.4 141.2 real 215.0 129.6 129.4 8.8 9.0 141.1 real 215.1 130.1 129.9 7.9 11.0 141.3 real 215.1 130.0 129.8 8.2 10.3 141.4 real 215.1 129.6 129.3 8.3 9.9 141.6 real 215.3 129.7 129.4 7.5 10.5 141.5 real 215.4 129.8 129.4 8.0 10.6 141.5 real 214.5 130.0 129.5 8.0 10.8 141.4 real 215.0 130.0 129.8 8.6 10.6 141.5 real 215.2 130.6 130.0 8.8 10.6 140.8 real 214.6 129.5 129.2 7.7 10.3 141.3 real 214.8 129.7 129.3 9.1 9.5 141.5 real 215.1 129.6 129.8 8.6 9.8 141.8 real 214.9 130.2 130.2 8.0 11.2 139.6 real 213.8 129.8 129.5 8.4 11.1 140.9 real 215.2 129.9 129.5 8.2 10.3 141.4 real 215.0 129.6 130.2 8.7 10.0 141.2 real 214.4 129.9 129.6 7.5 10.5 141.8 real 215.2 129.9 129.7 7.2 10.6 142.1 real 214.1 129.6 129.3 7.6 10.7 141.7 real 214.9 129.9 130.1 8.8 10.0 141.2 real 214.6 129.8 129.4 7.4 10.6 141.0 real 215.2 130.5 129.8 7.9 10.9 140.9 real 214.6 129.9 129.4 7.9 10.0 141.8 real 215.1 129.7 129.7 8.6 10.3 140.6 real 214.9 129.8 129.6 7.5 10.3 141.0 real 215.2 129.7 129.1 9.0 9.7 141.9 real 215.2 130.1 129.9 7.9 10.8 141.3 real 215.4 130.7 130.2 9.0 11.1 141.2 real 215.1 129.9 129.6 8.9 10.2 141.5 real 215.2 129.9 129.7 8.7 9.5 141.6 real 215.0 129.6 129.2 8.4 10.2 142.1 real 214.9 130.3 129.9 7.4 11.2 141.5 real 215.0 129.9 129.7 8.0 10.5 142.0 real 214.7 129.7 129.3 8.6 9.6 141.6 real 215.4 130.0 129.9 8.5 9.7 141.4 real 214.9 129.4 129.5 8.2 9.9 141.5 real 214.5 129.5 129.3 7.4 10.7 141.5 real 214.7 129.6 129.5 8.3 10.0 142.0 real 215.6 129.9 129.9 9.0 9.5 141.7 real 215.0 130.4 130.3 9.1 10.2 141.1 real 214.4 129.7 129.5 8.0 10.3 141.2 real 215.1 130.0 129.8 9.1 10.2 141.5 real 214.7 130.0 129.4 7.8 10.0 141.2 fake 214.4 130.1 130.3 9.7 11.7 139.8 fake 214.9 130.5 130.2 11.0 11.5 139.5 fake 214.9 130.3 130.1 8.7 11.7 140.2 fake 215.0 130.4 130.6 9.9 10.9 140.3 fake 214.7 130.2 130.3 11.8 10.9 139.7 fake 215.0 130.2 130.2 10.6 10.7 139.9 fake 215.3 130.3 130.1 9.3 12.1 140.2 fake 214.8 130.1 130.4 9.8 11.5 139.9 fake 215.0 130.2 129.9 10.0 11.9 139.4 fake 215.2 130.6 130.8 10.4 11.2 140.3 fake 215.2 130.4 130.3 8.0 11.5 139.2 fake 215.1 130.5 130.3 10.6 11.5 140.1 fake 215.4 130.7 131.1 9.7 11.8 140.6 fake 214.9 130.4 129.9 11.4 11.0 139.9 fake 215.1 130.3 130.0 10.6 10.8 139.7 fake 215.5 130.4 130.0 8.2 11.2 139.2 fake 214.7 130.6 130.1 11.8 10.5 139.8 fake 214.7 130.4 130.1 12.1 10.4 139.9 fake 214.8 130.5 130.2 11.0 11.0 140.0 fake 214.4 130.2 129.9 10.1 12.0 139.2 fake 214.8 130.3 130.4 10.1 12.1 139.6 fake 215.1 130.6 130.3 12.3 10.2 139.6 fake 215.3 130.8 131.1 11.6 10.6 140.2 fake 215.1 130.7 130.4 10.5 11.2 139.7 fake 214.7 130.5 130.5 9.9 10.3 140.1 fake 214.9 130.0 130.3 10.2 11.4 139.6 fake 215.0 130.4 130.4 9.4 11.6 140.2 fake 215.5 130.7 130.3 10.2 11.8 140.0 fake 215.1 130.2 130.2 10.1 11.3 140.3 fake 214.5 130.2 130.6 9.8 12.1 139.9 fake 214.3 130.2 130.0 10.7 10.5 139.8 fake 214.5 130.2 129.8 12.3 11.2 139.2 fake 214.9 130.5 130.2 10.6 11.5 139.9 fake 214.6 130.2 130.4 10.5 11.8 139.7 fake 214.2 130.0 130.2 11.0 11.2 139.5 fake 214.8 130.1 130.1 11.9 11.1 139.5 fake 214.6 129.8 130.2 10.7 11.1 139.4 fake 214.9 130.7 130.3 9.3 11.2 138.3 fake 214.6 130.4 130.4 11.3 10.8 139.8 fake 214.5 130.5 130.2 11.8 10.2 139.6 fake 214.8 130.2 130.3 10.0 11.9 139.3 fake 214.7 130.0 129.4 10.2 11.0 139.2 fake 214.6 130.2 130.4 11.2 10.7 139.9 fake 215.0 130.5 130.4 10.6 11.1 139.9 fake 214.5 129.8 129.8 11.4 10.0 139.3 fake 214.9 130.6 130.4 11.9 10.5 139.8 fake 215.0 130.5 130.4 11.4 10.7 139.9 fake 215.3 130.6 130.3 9.3 11.3 138.1 fake 214.7 130.2 130.1 10.7 11.0 139.4 fake 214.9 129.9 130.0 9.9 12.3 139.4 fake 214.9 130.3 129.9 11.9 10.6 139.8 fake 214.6 129.9 129.7 11.9 10.1 139.0 fake 214.6 129.7 129.3 10.4 11.0 139.3 fake 214.5 130.1 130.1 12.1 10.3 139.4 fake 214.5 130.3 130.0 11.0 11.5 139.5 fake 215.1 130.0 130.3 11.6 10.5 139.7 fake 214.2 129.7 129.6 10.3 11.4 139.5 fake 214.4 130.1 130.0 11.3 10.7 139.2 fake 214.8 130.4 130.6 12.5 10.0 139.3 fake 214.6 130.6 130.1 8.1 12.1 137.9 fake 215.6 130.1 129.7 7.4 12.2 138.4 fake 214.9 130.5 130.1 9.9 10.2 138.1 fake 214.6 130.1 130.0 11.5 10.6 139.5 fake 214.7 130.1 130.2 11.6 10.9 139.1 fake 214.3 130.3 130.0 11.4 10.5 139.8 fake 215.1 130.3 130.6 10.3 12.0 139.7 fake 216.3 130.7 130.4 10.0 10.1 138.8 fake 215.6 130.4 130.1 9.6 11.2 138.6 fake 214.8 129.9 129.8 9.6 12.0 139.6 fake 214.9 130.0 129.9 11.4 10.9 139.7 fake 213.9 130.7 130.5 8.7 11.5 137.8 fake 214.2 130.6 130.4 12.0 10.2 139.6 fake 214.8 130.5 130.3 11.8 10.5 139.4 fake 214.8 129.6 130.0 10.4 11.6 139.2 fake 214.8 130.1 130.0 11.4 10.5 139.6 fake 214.9 130.4 130.2 11.9 10.7 139.0 fake 214.3 130.1 130.1 11.6 10.5 139.7 fake 214.5 130.4 130.0 9.9 12.0 139.6 fake 214.8 130.5 130.3 10.2 12.1 139.1 fake 214.5 130.2 130.4 8.2 11.8 137.8 fake 215.0 130.4 130.1 11.4 10.7 139.1 fake 214.8 130.6 130.6 8.0 11.4 138.7 fake 215.0 130.5 130.1 11.0 11.4 139.3 fake 214.6 130.5 130.4 10.1 11.4 139.3 fake 214.7 130.2 130.1 10.7 11.1 139.5 fake 214.7 130.4 130.0 11.5 10.7 139.4 fake 214.5 130.4 130.0 8.0 12.2 138.5 fake 214.8 130.0 129.7 11.4 10.6 139.2 fake 214.8 129.9 130.2 9.6 11.9 139.4 fake 214.6 130.3 130.2 12.7 9.1 139.2 fake 215.1 130.2 129.8 10.2 12.0 139.4 fake 215.4 130.5 130.6 8.8 11.0 138.6 fake 214.7 130.3 130.2 10.8 11.1 139.2 fake 215.0 130.5 130.3 9.6 11.0 138.5 fake 214.9 130.3 130.5 11.6 10.6 139.8 fake 215.0 130.4 130.3 9.9 12.1 139.6 fake 215.1 130.3 129.9 10.3 11.5 139.7 fake 214.8 130.3 130.4 10.6 11.1 140.0 fake 214.7 130.7 130.8 11.2 11.2 139.4 fake 214.3 129.9 129.9 10.2 11.5 139.6 ; proc print; run; data _null_; file print; put _page_ ; run; proc print; run;
Hello,
I tried reducing size of dataset and running as you requested. My autoexec which I run at the beginning of a sessions ends with the following: %include '/home/u.../sasmacs2/allmacros.some.sas';
allmacros.some.sas needed to be modified. A long put statement did not cause an issue before but as I added more macros I needed to shorten what was being put out in one of the macros.
So it was an easy fix, I just had to find which macro(s) needed to be changed.
Thank you for your assistance.
MM
That's an error in the SAS startup code, not your code. You're fine to ignore it.
Looks like you are using SAS/Studio to submit your SAS code. It appears the issue is in the autogenerated code? Or perhaps your session is in a confused state.
Try restarting your SAS session. Try pressing F9. Or resetting from the menus. Then resubmit and see if the unbalanced quotes are cleared up.
Hello,
I tried reducing size of dataset and running as you requested. My autoexec which I run at the beginning of a sessions ends with the following: %include '/home/u.../sasmacs2/allmacros.some.sas';
allmacros.some.sas needed to be modified. A long put statement did not cause an issue before but as I added more macros I needed to shorten what was being put out in one of the macros.
So it was an easy fix, I just had to find which macro(s) needed to be changed.
Thank you for your assistance.
MM
Instead of maintaining some master code to compile macros that you %include whenever you start a new session, you could also add the folder with your macros to the SAS Autocall facility.
options INSERT=(SASAUTOS='/home/u.../sasmacs2');
This is some sort of a search path. When you call a macro that hasn't been compiled already then SAS will search in this folder for a .sas file with the name of the macro. If it finds it then SAS will execute the code.
For things to work the macro defined in the .sas file will need to have the same name than the .sas file - else SAS will execute the .sas file but then throw an error because the macro called in the code still doesn't exist.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.