Hello all ,
I am using following program in one my graph programs. ( I inherted that
program from somebody else) some how at the point of %system (3,3,3) I am
getting error. Is this user written macro or SAS supplied macro ?? I am
getting error at %label too
data anno1;
length text $ *14*;
%*system*(*3*,*3*,*3*);
if "&run_ib" = "Y" then do;
%*label*(*10*,*17*," n=",black, *0*, *0*, *2.25*, simplex,*6*);
%*label*(*55*,*19.5*,"Visit",black, *0*, *0*, *2.5*, duplex,*6*);
end;
else do;
%*label*(*4*,*21*,"Treatment X n=",black, *0*, *0*, *2.25*, simplex,*6*);
%*label*(*4*,*17.5*,"Treatment Y n=",black, *0*, *0*, *2.25*, simplex,*6*);
%if &type.=*4* %then %*label*(*50*,*23.5*,"Visit",black, *0*, *0*, *2.5*,
duplex,*6*);
%else %*label*(*55*,*23.5*,"Visit",black, *0*, *0*, *2.5*, duplex,*6*);
;
end;
run;
*%*system(3,3,3);
ERROR 180-322: Statement is not valid or it is used out of proper order.
|
|
0
|
|
|
|
Reply
|
proccontents
|
12/30/2009 11:38:16 PM |
|
You need to run the %ANNOMAC macro to make the other macros available.
It should be in your system macro library.
On Wed, 30 Dec 2009 15:38:16 -0800, "SAS_learner"
<proccontents@GMAIL.COM> said:
> Hello all ,
>
> I am using following program in one my graph programs. ( I inherted that
> program from somebody else) some how at the point of %system (3,3,3) I am
> getting error. Is this user written macro or SAS supplied macro ?? I am
> getting error at %label too
>
> data anno1;
> length text $ *14*;
> %*system*(*3*,*3*,*3*);
> if "&run_ib" = "Y" then do;
> %*label*(*10*,*17*," n=",black, *0*, *0*, *2.25*, simplex,*6*);
> %*label*(*55*,*19.5*,"Visit",black, *0*, *0*, *2.5*, duplex,*6*);
> end;
> else do;
> %*label*(*4*,*21*,"Treatment X n=",black, *0*, *0*, *2.25*, simplex,*6*);
> %*label*(*4*,*17.5*,"Treatment Y n=",black, *0*, *0*, *2.25*,
> simplex,*6*);
> %if &type.=*4* %then %*label*(*50*,*23.5*,"Visit",black, *0*, *0*, *2.5*,
> duplex,*6*);
> %else %*label*(*55*,*23.5*,"Visit",black, *0*, *0*, *2.5*, duplex,*6*);
> ;
> end;
> run;
>
>
> *%*system(3,3,3);
>
> ERROR 180-322: Statement is not valid or it is used out of proper order.
--
Jack Hamilton
Sacramento, California
jfh@alumni.stanford.org <== Use this, not jfh @ stanfordalumni.org
Tots units fem for�a!
|
|
0
|
|
|
|
Reply
|
jfh (1363)
|
12/30/2009 11:49:37 PM
|
|
|
1 Replies
292 Views
(page loaded in 0.061 seconds)
|