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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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