The SAS Output Delivery System and reporting techniques

Proc Factor noprint and ODS

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 11
Accepted Solution

Proc Factor noprint and ODS

Hello alltogether,

 

I want to run proc factor with a correlation matrix with more then 150 items as input dataset.

Regarding the results of proc factor I need two datasets:

1. outstat=data1

2. ods output orthrotfactpat=data2 

 

I would like to reduce or even better avoid the output of proc factor.

But when using the NOPRINT option I don't get the ods output.

Is there any way to reduce or avoid the ouput of proc factor, but to get the datasets data1 and data2?

 

This is the syntax I use:

        proc factor  score  data = correlationmatrix (TYPE=CORR) method = PRINCIPAL  priors = ONE  rotate = PROMAX
                                      nobs = totalNumberObservation nfactors = NumberFactors  noprint  outstat = data1;
        ods output orthrotfactpat = data2;
        run;

 

Thanks for your help!

 

badikidiki

 


Accepted Solutions
Solution
‎09-29-2015 04:03 AM
Occasional Contributor
Posts: 11

Re: Proc Factor noprint and ODS

Just now I found an solution somewhere else in this community:
ods exclude all;
proc factor;...
run;
ods exclude none;

It works!
Thank you very much!

View solution in original post


All Replies
Trusted Advisor
Posts: 1,789

Re: Proc Factor noprint and ODS

You can't use NOPRINT with ODS OUTPUT

 

Remove the NOPRINT option, try this

 

ods listing select none;

proc factor ...

run;

ods listing select all;

Occasional Contributor
Posts: 11

Re: Proc Factor noprint and ODS

Hello

 

thanks for your answer.

 

But I get an error message with your syntax.

ERROR: The LISTING destination is not active; no select/exclude lists are available.

What do I have to do?

 

Solution
‎09-29-2015 04:03 AM
Occasional Contributor
Posts: 11

Re: Proc Factor noprint and ODS

Just now I found an solution somewhere else in this community:
ods exclude all;
proc factor;...
run;
ods exclude none;

It works!
Thank you very much!
🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 815 views
  • 0 likes
  • 2 in conversation