BookmarkSubscribeRSS Feed
ieva
Pyrite | Level 9
Hi,

I am running PROC TREE in SAS EG. I’m using vpages=6 hpages=6 in order to create bigger tree picture (so SAS splits it on 6*6=36 pages). They are automatically called tree1.gif tree2.gif etc.
(I’m using goptions: gsfmode=replace device=gif);

In case program should be rerun and I try to do it without reopening EG, it continues numbering tree pictures from 37, 38, 39… and doesn’t start numbering from beginning. If EG is closed and reopened, picture numbering is correct (starting from tree1.gif).

I tried to delete temporary datasets before rerun, but it doesn’t help.

Is there a way to order SAS to make this numbering from beginning each time program is run?

Thanks,
Ieva
1 REPLY 1
ballardw
Super User
Try specifying the graphics output catalog using GOUT= (so the output goes someplace that does not already have output with the same name) and set the GOPTION GOUTMODE=REPLACE. The GOUT may not be needed but I find it helpful to specify where things are going whenever output behaves unexpectedly.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1366 views
  • 0 likes
  • 2 in conversation