Every macro I run in sas studio produces the log below and doesn't generate results. I'm new to sas and macros. Please give me some direction on how to fix this.
Thanks,
James
Here is the log output
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
2 TITLE;
3 FOOTNOTE;
4 OPTIONS LOCALE=en_US DFLANG=LOCALE;
5 DATA _NULL_;
86 &GRAPHTERM; ;*';*";*/;RUN;QUIT;
_________________
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.
6 RUN;
7 OPTIONS VALIDVARNAME=V7;
8 OPTIONS VALIDMEMNAME=COMPAT;
9 FILENAME _HTMLOUT TEMP;
10 FILENAME _RTFOUT TEMP ENCODING='UTF-8';
10 FILENAME _RTFOUT TEMP ENCODING='UTF-8'
_
49
10 ! ;
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.
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.71;
18 %LET _CLIENTVERSION=3.71;
19 %LET _CLIENTMODE=basic;
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
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 '.'
_
49
28 ! ;
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 DATA _NULL_;
30 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.
31 RUN;
32 FILENAME _CWD;
33
34 %LET _SASPROGRAMFILE = %NRQUOTE(%NRSTR(/folders/myfolders/NHANES 7.8.18.sas));
35 %LET _BASEURL = %BQUOTE(http://localhost:10080/SASStudio/);
30 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.
36 %LET _EXECENV=SASStudio;
37 DATA _NULL_;
38 CALL SYMPUT("GRAPHINIT","");
39 CALL SYMPUT("GRAPHTERM","");
40 RC=TSLVL('SASXGOPT','N');
41 _ERROR_=0;
42 IF (RC^=' ') THEN DO;
43 CALL SYMPUT("GRAPHINIT","GOPTIONS RESET=ALL GSFNAME=_GSFNAME;");
44 CALL SYMPUT("GRAPHTERM","GOPTIONS NOACCESSIBLE;");
45 END;
46 RUN;
47 DATA _NULL_;
48 RC=SYSPROD("PRODNUM002");
49 IF (RC^=1) THEN DO;
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
50 CALL SYMPUT("GRAPHINIT","");
51 CALL SYMPUT("GRAPHTERM","");
52 END;
53 RUN;
54 %LET _DATAOUT_MIME_TYPE=;
55 %LET _DATAOUT_NAME=;
56 %LET _DATAOUT_TABLE=;
57 %LET _DATAOUT_URL=;
58 %SYMDEL _DATAOUT_MIME_TYPE _DATAOUT_NAME _DATAOUT_URL _DATAOUT_TABLE;
59 %LET _SASWS_ = %BQUOTE(/folders/myfolders);
42 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.
60 %LET _SASWSTEMP_=%BQUOTE(/folders/myfolders/.sasstudio/.images/51192620-167d-4057-897c-d799bff2af36);
61 ODS LISTING CLOSE;
62 ODS AUTONAVIGATE OFF;
63 ODS GRAPHICS ON;
64 ODS HTML5 (ID=WEB) DEVICE=PNG GPATH="&_SASWSTEMP_" ENCODING=utf8 FILE=_HTMLOUT (TITLE='Results: NHANES
64 ! 7.8.18.sas') STYLE=Htmlblue OPTIONS(BITMAP_MODE='INLINE' OUTLINE='ON' SVG_MODE='INLINE'
_______________________________________ ___________ ____________
49 49 49
64 ! CSS_PREFIX='.ods_51192620-167d-4057-897c-d799bff2af36' BODY_ID='div_51192620-167d-4057-897c-d799bff2af36' );
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.
65 ODS RTF (ID=WEB) STYLE=Rtf FILE=_RTFOUT sasdate;
66 ODS PDF (ID=WEB) STYLE=Pearl FILE=_PDFOUT;
67 &GRAPHINIT;
68 OPTIONS FIRSTOBS=1;
69 OPTIONS OBS=MAX;
70 OPTIONS DTRESET DATE NUMBER NOTES;
NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.
71 OPTIONS NOTES STIMER SOURCE NOSYNTAXCHECK;
72
73 %printz(purple,red,blue,teal)
74
75 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
76 ODS HTML CLOSE;
77 &GRAPHTERM; ;*';*";*/;RUN;QUIT;
78 QUIT;RUN;
79 ODS HTML5 (ID=WEB) CLOSE;
80
81 ODS RTF (ID=WEB) CLOSE;
82 ODS PDF (ID=WEB) CLOSE;
83 FILENAME _GSFNAME;
84 DATA _NULL_;
85 RUN;
86 OPTIONS VALIDMEMNAME=COMPAT;
87 OPTIONS NOTES STIMER SOURCE SYNTAXCHECK;
88