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
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.
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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.