Prev: Test for the equality of coefficients
Next: Setting up SAS-Connect Windows to Unix under Microsoft Vista OS
From: greenwillow on 10 Mar 2010 10:01 I wrote a loop macro, which will created more than 1000 files. I don't want them to be printed in the output window. However, if I put noprint option in the statement, the results can be written to the ODS either. Is there one way to only get the ODS file? Thanks! %macro charchar; %do i=1 %to &NObs; %do j=1 %to &NObs; %if &i ne &j %then %rcharchar(&&char&i,&&char&j); %end; %end; %mend; %charchar;
From: Ray on 10 Mar 2010 11:11 The output window is just the 'listing' ODS. So you can close it just as you open and close other ODS destinations. ods listing close ; *close the output window destination; proc print ; run; ods listing ;*open it back up ; Ray On Mar 10, 7:01 am, greenwillow <yangliuy...(a)gmail.com> wrote: > I wrote a loop macro, which will created more than 1000 files. I don't > want them to be printed in the output window. > > However, if I put noprint option in the statement, the results can be > written to the ODS either. > > Is there one way to only get the ODS file? > > Thanks! > > %macro charchar; > > %do i=1 %to &NObs; > %do j=1 %to &NObs; > %if &i ne &j %then > %rcharchar(&&char&i,&&char&j); > %end; > %end; > %mend; > %charchar;
From: greenwillow on 25 Mar 2010 16:46
Thank you so much Ray! On Mar 10, 11:11 am, Ray <rwallac...(a)gmail.com> wrote: > The output window is just the 'listing' ODS. So you can close it just > as you open and close other ODS destinations. > > ods listing close ; *close the output window destination; > proc print ; run; > ods listing ;*open it back up ; > > Ray > > On Mar 10, 7:01 am, greenwillow <yangliuy...(a)gmail.com> wrote: > > > > > I wrote a loop macro, which will created more than 1000 files. I don't > > want them to be printed in the output window. > > > However, if I put noprint option in the statement, the results can be > > written to the ODS either. > > > Is there one way to only get the ODS file? > > > Thanks! > > > %macro charchar; > > > %do i=1 %to &NObs; > > %do j=1 %to &NObs; > > %if &i ne &j %then > > %rcharchar(&&char&i,&&char&j); > > %end; > > %end; > > %mend; > > %charchar;- Hide quoted text - > > - Show quoted text - |