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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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