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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1670 views
  • 0 likes
  • 3 in conversation