Hi,
I am trying to use STORE statement in PROC GLMSELECT. But I am facing below issue during execution of the step.
14 STORE OUT=INPUT.PROJSTORE;
-----
1
WARNING 1-322: Assuming the symbol SCORE was misspelled as STORE.
Please help me in resolving this issue. I am also pasting the code of PROC GLMSELECT I used below for reference.
%LET VAR6 = Disbursement_Amount OD_Days Total_Outstanding_Amount;
%LET VAR7= STATE PROD_CODE;
ODS GRAPHICS ON;
PROC GLMSELECT DATA=INPUT.PROJECT9
PLOTS=ALL;
CLASS &VAR7 / PARAM=GLM REF=FIRST;
MODEL Total_Od_Amt=&VAR7 &VAR6 / SELECTION=BACKWARD
SELECT=SBC
CHOOSE=VALIDATE;
PARTITION FRACTION(TEST=0.25 VALIDATE=0.25);
STORE OUT=INPUT.PROJSTORE;
OUTPUT OUT=INPUT.PROJSTOR2;
RUN;
ODS GRAPHICS OFF;
What version of sas are you using? STORE was not available in the earliest versions of GLMSELECT.
I am using SAS 9.2 version.
I think the STORE statement was only added in9.3 for the GLMSELECT procedure.
Thank you very much Ivm. In that case I will try to find out alternative to store and produce code.
and one more thing can you also help me how to prepare a code in SAS 9.2 version ?
Hey I know this is a really old post but I just wanted to suggest trying the CODE statement, which writes a model out to a file.
Here's a link to documentation on the CODE statement.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.