BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
oab
Fluorite | Level 6 oab
Fluorite | Level 6

Trying to subset using the SAS command:

data woleaim1;

set analytic.alltrmt;

run;

 

Got error message: 

ERROR: The format STGGRP was not found or could not be loaded

STGGRP is one of the variables in the original data set

 

I successfully achieved this like 10 hours ago. I do not know why it is difficult to do the same now.

Thank you.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

??  Sorry, your post makes no sense.  There is no subset at all in the presented code, just a set statement.  Is it possible that you don't have format stggtp created, if so then use nofmterr:

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279100.htm

 

i.e.:

options nofmterr;

Then you wont get the error about missing format.

View solution in original post

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

??  Sorry, your post makes no sense.  There is no subset at all in the presented code, just a set statement.  Is it possible that you don't have format stggtp created, if so then use nofmterr:

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279100.htm

 

i.e.:

options nofmterr;

Then you wont get the error about missing format.

oab
Fluorite | Level 6 oab
Fluorite | Level 6

Thank you. I have been able to fix this!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 2 replies
  • 1124 views
  • 1 like
  • 2 in conversation