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

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