BookmarkSubscribeRSS Feed
anilgvdbm
Quartz | Level 8

Dear All ,

I got an error when i am processing SAS version 6 files in SAS version 9 software.

Error is like this

NFHS3.CHIL_BMI.DATA is a Version 6 data set.  In future releases of SAS you may not be

      able to create or update Version 6 data sets. Use PROC MIGRATE to convert the data set to

      Version 9.

ERROR: The variable name Ht_A_pctl is illegal for the version 6 file NFHS3.CHIL_BMI.DATA.

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set NFHS3.CHIL_BMI was only partially opened and will not be saved.

NOTE: DATA statement used (Total process time):

      real time           0.03 seconds

      cpu time            0.03 seconds

Please can anybody help in this.

Thanks and Regards,

Anil

2 REPLIES 2
Kurt_Bremser
Super User

Please provide the offending code, it makes it much easier to find the right answer. Just supplying the error message without a log containig the offending code is usually not helpful.


The probable reason for your error is that you try to write a dataset in the library containing the V6 dataset. Since this library uses the V6 engine, you have to adhere to V6 naming conventions, which means that variable names must not exceed 8 characters. Ht_A_pctl contains 9 characters.

Ksharp
Super User

NFHS3.CHIL_BMI.DATA is a Version 6 data set.  In future releases of SAS you may not be

      able to create or update Version 6 data sets. Use PROC MIGRATE to convert the data set to

      Version 9.

But I didn't guarantee that could work.

Xia Keshan

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
  • 1213 views
  • 0 likes
  • 3 in conversation