Thanks, ran the code and the filenames somehow aren't working as expected. In 8.3: I get test.html, test2.png, and test4.png Log: 1 The SAS System Monday, August 21, 2023 12:03:00 PM
1 ;*';*";*/;quit;run;
2 OPTIONS PAGENO=MIN;
3 %LET _CLIENTTASKLABEL='Program';
4 %LET _CLIENTPROCESSFLOWNAME='Standalone Not In Project';
5 %LET _CLIENTPROJECTPATH='';
6 %LET _CLIENTPROJECTPATHHOST='';
7 %LET _CLIENTPROJECTNAME='';
8 %LET _SASPROGRAMFILE='';
9 %LET _SASPROGRAMFILEHOST='';
10
11 ODS _ALL_ CLOSE;
12 OPTIONS DEV=ACTIVEX;
13 GOPTIONS XPIXELS=0 YPIXELS=0;
14 %macro HTML5AccessibleGraphSupported;
15 %if %_SAS_VERCOMP_FV(9,4,4, 0,0,0) >= 0 %then ACCESSIBLE_GRAPH;
16 %mend;
17 FILENAME EGSR TEMP;
18 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR
19 STYLE=HTMLBlue
20 NOGTITLE
21 NOGFOOTNOTE
22 GPATH=&sasworklocation
23 ENCODING=UTF8
24 options(rolap="on")
25 ;
NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
26
27 %let path = /sasdata/dev/VEA1007/Data/Raw/Verint/temp/control_charts;
28 ods listing close;
29 ods html close;
30 ods graphics off;
31 ods html body="test.html" path="&path.";
NOTE: Writing HTML Body file: test.html
32 ods graphics on / reset=index(1) imagename="test" height=80px width=160px border=off;
33 ods listing style=htmlblue gpath="&path.";
34 proc sgplot data=sashelp.class noborder noautolegend;
35 ods html exclude sgplot;
36 styleattrs datacolors=(pink blue) datasymbols=(circlefilled);
37 hbar sex / barwidth=0.5 group=sex baselineattrs=(thickness=0px)
38 outlineattrs=(color=black) dataskin=gloss;
39 yaxis display=(nolabel noticks noline);
40 xaxis display=(nolabel) offsetmax=0;
41 run;
NOTE: PROCEDURE SGPLOT used (Total process time):
real time 0.11 seconds
cpu time 0.05 seconds
NOTE: This graph has ATTRPRIORITY=COLOR in effect. The cycling of your custom symbols and/or line patterns is based on color
priority. Please see ODS Graphics documentation on ATTRPRIORITY= option.
NOTE: This graph has ATTRPRIORITY=COLOR in effect. The cycling of your custom symbols and/or line patterns is based on color
priority. Please see ODS Graphics documentation on ATTRPRIORITY= option.
NOTE: Listing image output written to /sasdata/dev/VEA1007/Data/Raw/Verint/temp/control_charts/test2.png.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: MVA_DSIO.OPEN_CLOSE| _DISARM| STOP| _DISARM| 2023-08-21T14:16:31,998+10:00| _DISARM| WorkspaceServer| _DISARM| |
_DISARM| | _DISARM| | _DISARM| 41324544| _DISARM| 13| _DISARM| 13| _DISARM| 624| _DISARM| 4416| _DISARM| | _DISARM| |
_DISARM| | _DISARM| | _DISARM| | _DISARM| | _ENDDISARM
NOTE: PROCEDURE| _DISARM| STOP| _DISARM| 2023-08-21T14:16:31,998+10:00| _DISARM| WorkspaceServer| _DISARM| | _DISARM| |
2 The SAS System Monday, August 21, 2023 12:03:00 PM
_DISARM| | _DISARM| 41324544| _DISARM| 13| _DISARM| 13| _DISARM| 624| _DISARM| 4416| _DISARM| | _DISARM| | _DISARM| |
_DISARM| | _DISARM| | _DISARM| | _ENDDISARM
42 proc sgplot data=sashelp.class noborder noautolegend;
43 ods html exclude sgplot;
44 styleattrs datacolors=(pink blue) datasymbols=(circlefilled);
45 hbar sex / barwidth=0.5 group=sex baselineattrs=(thickness=0px)
46 outlineattrs=(color=black) dataskin=gloss;
47 yaxis display=(nolabel noticks noline);
48 xaxis display=(nolabel) offsetmax=0;
49 run;
NOTE: PROCEDURE SGPLOT used (Total process time):
real time 0.07 seconds
cpu time 0.02 seconds
NOTE: This graph has ATTRPRIORITY=COLOR in effect. The cycling of your custom symbols and/or line patterns is based on color
priority. Please see ODS Graphics documentation on ATTRPRIORITY= option.
NOTE: This graph has ATTRPRIORITY=COLOR in effect. The cycling of your custom symbols and/or line patterns is based on color
priority. Please see ODS Graphics documentation on ATTRPRIORITY= option.
NOTE: Listing image output written to /sasdata/dev/VEA1007/Data/Raw/Verint/temp/control_charts/test4.png.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: MVA_DSIO.OPEN_CLOSE| _DISARM| STOP| _DISARM| 2023-08-21T14:16:32,075+10:00| _DISARM| WorkspaceServer| _DISARM| |
_DISARM| | _DISARM| | _DISARM| 41324544| _DISARM| 13| _DISARM| 13| _DISARM| 360| _DISARM| 4776| _DISARM| | _DISARM| |
_DISARM| | _DISARM| | _DISARM| | _DISARM| | _ENDDISARM
NOTE: PROCEDURE| _DISARM| STOP| _DISARM| 2023-08-21T14:16:32,075+10:00| _DISARM| WorkspaceServer| _DISARM| | _DISARM| |
_DISARM| | _DISARM| 41324544| _DISARM| 13| _DISARM| 13| _DISARM| 360| _DISARM| 4776| _DISARM| | _DISARM| | _DISARM| |
_DISARM| | _DISARM| | _DISARM| | _ENDDISARM
50 ods listing close;
51 ods html close;
52 ods graphics off;
53
54 %LET _CLIENTTASKLABEL=;
55 %LET _CLIENTPROCESSFLOWNAME=;
56 %LET _CLIENTPROJECTPATH=;
57 %LET _CLIENTPROJECTPATHHOST=;
58 %LET _CLIENTPROJECTNAME=;
59 %LET _SASPROGRAMFILE=;
60 %LET _SASPROGRAMFILEHOST=;
61
62 ;*';*";*/;quit;run;
63 ODS _ALL_ CLOSE;
64
65
66 QUIT; RUN;
67 And in 7.11, I get a weird syntax error whenever I put a number in reset=index(int), even after manually re-typing all of the code. reset=index by itself worked fine though, oddly. NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR
NOTE: Writing HTML Body file: test.html
29 ods graphics on / reset=index(1) imagename="test" height=80px width=160px border=off;
_
22
200
ERROR 22-322: Syntax error, expecting one of the following: ;, ANTIALIAS, ANTIALIASMAX, ATTRPRIORITY, BORDER, BYLINE, DATASKINMAX,
DISCRETEMAX, DRILLTARGET, GROUPMAX, HEIGHT, IMAGEMAP, IMAGENAME, LABELMAX, LABELPLACEMENT, LOESSMAXOBS,
MAXLEGENDAREA, NOANTIALIAS, NOBORDER, NOIMAGEMAP, NOSCALE, NOSCALEMARKERS, OUTPUTFMT, PANELCELLMAX, RESET, SCALE,
SCALEMARKERS, TIPMAX, WIDTH.
ERROR 200-322: The symbol is not recognized and will be ignored. Although it didn't output "test1.html" as expected, it did output test.html, SGPlot1.png and SGPlot3.png.
... View more