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

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 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
  • 984 views
  • 0 likes
  • 2 in conversation