BookmarkSubscribeRSS Feed
SreedharDhekonda
Calcite | Level 5

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;

6 REPLIES 6
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

What version of sas are you using? STORE was not available in the earliest versions of GLMSELECT.

SreedharDhekonda
Calcite | Level 5

I am using SAS 9.2 version.

lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

I think the STORE statement was only added in9.3 for the GLMSELECT procedure.

SreedharDhekonda
Calcite | Level 5

Thank you very much Ivm. In that case I will try to find out alternative to store and produce code.

SreedharDhekonda
Calcite | Level 5

and one more thing can you also help me how to prepare a code in SAS 9.2 version ?

jules_s
Calcite | Level 5

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. 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 6 replies
  • 1684 views
  • 0 likes
  • 3 in conversation