Desktop productivity for business analysts and programmers

Error SAS Guide

Reply
Occasional Learner
Posts: 1

Error SAS Guide

I tried to run a very simple data step in EG but I always received the following message from the automatic sas macro:

No idea how to get rid of it:

 

1 %_eg_hidenotesandsource;

2 ;*';*";*/;quit;run;

3 OPTIONS PAGENO=MIN;

4 %_eg_restorenotesandsource;

5 %_eg_hidenotesandsource;

6

7 %LET _CLIENTTASKLABEL='Program2';

8 %LET _CLIENTPROJECTPATH='K:\DATA\EG projects\Data_Collection_SERVER - DRAFT2.egp';

9 %LET _CLIENTPROJECTNAME='Data_Collection_SERVER - DRAFT2.egp';

10 %LET _SASPROGRAMFILE=;

11

____________________________________________________________________________________

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.

12 ODS _ALL_ CLOSE;

13 OPTIONS DEV=ACTIVEX;

14 GOPTIONS XPIXELS=0 YPIXELS=0;

15 FILENAME EGSR TEMP;

16 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR STYLE=Seaside

16 ! STYLESHEET=(URL="file:///Q:/RU044873.001/VFS/SFT_PROGRAM_FILES_X64/SASHome/x86/SASEnterpriseGuide/5.1/Styles/Seaside.css"

____________________________________________________________________________

 

49

16 ! ) NOGTITLE NOGFOOTNOTE GPATH=&sasworklocation ENCODING=UTF8 options(rolap="on");

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.

17

18 GOPTIONS ACCESSIBLE;

19 %_eg_restorenotesandsource;

20

21 /* Insert custom code before submitted code here */

22

23

24

25 data test;

26 i=1;

27 run;

28

29 %_eg_hidenotesandsource;

30

31 GOPTIONS NOACCESSIBLE;

32 %LET _CLIENTTASKLABEL=;

33 %LET _CLIENTPROJECTPATH=;

34 %LET _CLIENTPROJECTNAME=;

35 %LET _SASPROGRAMFILE=;

36

37 ;*';*";*/;quit;run;

38 ODS _ALL_ CLOSE;

39

40 %_eg_restorenotesandsource;

41

42

43 %_eg_hidenotesandsource;

44 QUIT; RUN;

2 The SAS System 09:15 Tuesday, February 9, 2016

45 %_eg_restorenotesandsource;

 

 

Trusted Advisor
Posts: 1,061

Re: Error SAS Guide

I'm wondering if maybe you have a character set issue. When I have this problem, I try this:

 

1. Copy your code to MS Word.

2. In Word, do "Save As..."

3. Select a type of "Plain Text"

4. In the "File Conversion" screen, pick "Windows (Default)"

 

Open this file in Notepad, and then copy it back into EG. Try running it, and see what happens.

 

Tom

Occasional Learner
Posts: 1

Re: Error SAS Guide

This same error message has been bedevilling me. I never get it the first time I run a program. But at some point, when I return to a program and re-run it, SAS (EG) gets it into its brain that I am creating a long character string. I can't figure it out. And the only thing that works is to exit EG entirely and then restart the application -- painful when you are 3/4 of the way into a long process. I think I most often experience this when I am calling a macro from another program with the "include" statement.

Respected Advisor
Posts: 3,065

Re: Error SAS Guide

Try this:

 

options noquotelenmax;
Ask a Question
Discussion stats
  • 3 replies
  • 1405 views
  • 1 like
  • 4 in conversation