Google Answers Logo
View Question
 
Q: SAS Programming Question: Format glm output ( No Answer,   3 Comments )
Question  
Subject: SAS Programming Question: Format glm output
Category: Computers > Programming
Asked by: marcbrands-ga
List Price: $4.00
Posted: 23 Apr 2004 12:34 PDT
Expires: 23 May 2004 12:34 PDT
Question ID: 335060
Hi.

I have a SAS script that does various analysis on my data set, like
glm. Like as follows:

 proc glm DATA = vc_roi;
   class Scanner;
   model XLH_2 XLH_3 = Scanner /nouni;
   repeated fig 2/ nom mean;
 run;

The problem is that I need to run 100+ of different Analysis on the
data. Every procedure gives me a multiple pages of output. So after
the analysis I have tons of output. (See:
http://www.ccbi.cmu.edu/temp/sas.lst for the an output example.) Then
I have to go through the output by hand and pick out the few answers I
need. My question is can I specify in SAS which number(s) of the
output to output(print), or repress some of the output, or better put
some specific output in a variable or table?

Thanks,
Marc
Answer  
There is no answer at this time.

Comments  
Subject: Re: SAS Programming Question: Format glm output
From: sasplumber-ga on 13 May 2004 10:40 PDT
 
Hi Marc,

The short answer to your question is to use ODS to direct the output to a data set 

Good luck

The Plumber
Subject: Re: SAS Programming Question: Format glm output
From: marcbrands-ga on 19 May 2004 06:53 PDT
 
I did find the ODS function, but I didn't see how I could direct the
output to a data set. Is there an example somewhere?
Marc
Subject: Re: SAS Programming Question: Format glm output
From: diel-ga on 23 Aug 2004 05:26 PDT
 
You need to start tracing the ODS output like this...

ods trace on;

...sas code...

Then, in the SAS log, each piece of output will have an ODS name. 
Once you know which specific bits of output you need, you can
select/exclude particular names:

ods select "some-output-name".

which must appear before the procedure whose output you want to filter.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy