| Date: | Thu, 25 Mar 2010 13:46:20 -0700 |
| Reply-To: | greenwillow <yangliuyan7@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | greenwillow <yangliuyan7@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: How to print the results only to ODS files but not to the
output window |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
Thank you so much Ray!
On Mar 10, 11:11 am, Ray <rwallac...@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...@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 -
|