我有一个数据集,其中包含所有字符格式的数据。
现在我想从这个数据集创建另一个数据集,把它放在正确的十进制或日期或字符格式中。
这就是我正在尝试的。
数据work.testout;
属性 account_open_date 信息 = mmddyy10.;
对 nobs 做 i = 1;
设置 braw.accounts 点 = i nobs = nobs;
输出;
结尾;
停止;
跑;
这给了我:
Variable 'account_open_date' from data set braw.accounts (at line 7 column 21) has a different type (character) to the variable type on the data vector (numeric)
这样做的最佳方法是什么?