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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.