BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Phil_NZ
Barite | Level 11

Hi everyone,

Today I created a code flow for autoexec code. However, when I run the first code about a macro as below, I saw some notes about white space as the log below, could you please help me to sort it out?

/*quickly assign means name*/
%macro Means (dataset = 
              ,stats_list = );

proc means data= &dataset &stats_list;
title "MEANS of &dataset";
run;

%mend Means;
/*eg: %Means(sashelp.class,n nmiss);*/
%Means(dataset=sashelp.class, stats_list =n nmiss);

The log is as below

;*';*";*/;quit;run;
2          OPTIONS PAGENO=MIN;
3          %LET _CLIENTTASKLABEL='Normal'
                                        _
                                        49
3        ! ;
4          %LET _CLIENTPROCESSFLOWNAME='Autoexec_code'
                                                     ___________________________
                                                     49
4        ! ;
5          %LET _CLIENTPROJECTPATH='C:\Users\pnguyen\OneDrive - Massey University\SAS\All SAS flows_since 29Dec2020.egp'

_______________________________                                                                                                     
                                                                                                                       49
5        ! ;
6          %LET _CLIENTPROJECTPATHHOST='IT082760'
                                                ___________________________
                                                49
6        ! ;
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.
7          %LET _CLIENTPROJECTNAME='All SAS flows_since 29Dec2020.egp';
8          %LET _SASPROGRAMFILE='';
9          %LET _SASPROGRAMFILEHOST='';
10         
11         ODS _ALL_ CLOSE;
12         OPTIONS DEV=SVG;
13         GOPTIONS XPIXELS=0 YPIXELS=0;
NOTE: The quoted string currently being processed has become more than 262 characters long.  You might have unbalanced quotation 
      marks.
14         %macro HTML5AccessibleGraphSupported;
7          %LET _CLIENTPROJECTNAME='All SAS flows_since 29Dec2020.egp';
                                                                     __
                                                                     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.

15             %if %_SAS_VERCOMP_FV(9,4,4, 0,0,0) >= 0 %then ACCESSIBLE_GRAPH;
16         %mend;
17         FILENAME EGHTML TEMP;
18         ODS HTML5(ID=EGHTML) FILE=EGHTML
19             OPTIONS(BITMAP_MODE='INLINE'
                                          _
                                          49
19       ! )
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.

 

 

Warmest regards.

Thank you for your help, have a fabulous and productive day! I am a novice today, but someday when I accumulate enough knowledge, I can help others in my capacity.
1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

You appear to have unbalanced quotes somewhere.

You also appear to be using some tool for submitting your code to SAS like SAS/Studio or Enterprise Guide.

 

First try re-starting your SAS session and see if the unbalanced quotes go away.  You should be able to do that without closing the tool you are using to submit the code to SAS.

 

If that does not fix the issue then either your AUTOEXEC file or some other block of code that your user interface is inserting has the unbalanced quotes.

View solution in original post

2 REPLIES 2
Reeza
Super User
Those are not errors in your code, they're from the SAS automatic code, you can ignore them.

This goes back to the constant question asked last week.
https://communities.sas.com/t5/SAS-Programming/what-does-the-D-mean/m-p/724666
NOTE: The quoted string currently being processed has become more than 262 characters long. You might have unbalanced quotation
marks.

SAS Constants - documentation link
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=lrcon&docsetTarget=p0cq7f...
Tom
Super User Tom
Super User

You appear to have unbalanced quotes somewhere.

You also appear to be using some tool for submitting your code to SAS like SAS/Studio or Enterprise Guide.

 

First try re-starting your SAS session and see if the unbalanced quotes go away.  You should be able to do that without closing the tool you are using to submit the code to SAS.

 

If that does not fix the issue then either your AUTOEXEC file or some other block of code that your user interface is inserting has the unbalanced quotes.

SAS Innovate 2025: Register Now

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 621 views
  • 2 likes
  • 3 in conversation