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

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