From: KarlK on
Hi, All. I've searched the archives (and sas support) but haven't seen
this reported, so I'm wondering if it's me. Has anyone experienced Proc
Document replaying the wrong object when replaying objects from Proc Gplot?

For example, if I run this:

Proc Gplot data = one uniform;
by study;
plot yvar * (xvar1 xvar2) = covar1
/ haxis = axis1 vaxis = axis2
name="sdplot"
;
run;
quit;

And then use Proc Document to mess with the TOC labels and display
hierarchy, and then replay the objects to a new document, I get the
yvar*xvar1 plot TWICE, instead of yvar*xvar1 followed by yvar*xvar2. I've
had multiple people check the code and I didn't make a typo, and the log
clearly states it's copying the same graph twice.

The work-around is easy: just remove the parens and make 2 run groups in
Gplot. I'm just curious if anyone else has observed this before I pull
together a sample program and send it to SAS (or post here).

Thanks.
Karl