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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1401 views
  • 0 likes
  • 2 in conversation