4 weeks ago - last edited 4 weeks ago
I am generating png image files that I want to have standard naming convention. However the files that get generated have names that end with "1". I know that should happen if there is more than one times the image is generated, so that the first time it is called "image.png" and the second time "image1.png." But this happened even if there is one call, and even if there are no other image files in the folder.
I found a previous thread that had similar issue, and it was solved by adding "ods html close" to the top. I added this statement, but it did not help. Below I am listing the code.
ODS HTML CLOSE;
ODS PDF CLOSE;
ods graphics on /
imagemap = on
reset = all
ods listing gpath="/sasmart/zkydmjo/IJGraph";
PROC SGPANEL DATA=lalas;
PANELBY gender /SPACING=3 novarname;
series y=smm x=&AgeorDate /
MARKERS MARKERATTRS = (SYMBOL = CircleFilled COLOR = black SIZE = 5)
LINEATTRS = (COLOR = black PATTERN = SOLID);
series y=fit x=&AgeorDate /
MARKERS MARKERATTRS = (SYMBOL = circle COLOR = green SIZE = 5)
LINEATTRS = (COLOR = green PATTERN = SOLID);
ods listing close;
4 weeks ago
Thank you. I have already tried to switch the line "ods listing gpath = "...." to be above the statement "ods graphics on /". However that did not help.
Need further help from the community? Please ask a new question.