BookmarkSubscribeRSS Feed
rdbug
Calcite | Level 5


I am a fairly new SAS user and  I am working on a research project.  I downloaded what I thought was an SAS file and stored it on the server.  I also created a .sas7bdat file.  After completing the code and running in SAS, I get three errors

ERROR: Missing FMTNAME variable.


ERROR: Missing START variable.


ERROR: Missing LABEL variable.

Not sure what they mean or how to resolve so I can run my code.  Any suggestions?

rdbug

2 REPLIES 2
Astounding
PROC Star

It means that code you are running contains a line like this:

proc format cntlin=SomeDataset;

And the dataset does not contain the proper structure that PROC FORMAT is looking for.  Unfortunately, this is not a good place to begin learning SAS ... it's at least an intermediate-level topic.

rdbug
Calcite | Level 5

Is there anything that can be done to remedy this?  I downloaded a .dat file.  I was able to convert to two .sas7bdat.

Robin

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 Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 999 views
  • 0 likes
  • 2 in conversation