我尝试使用SAS ENTERPRISE GUIDE打开SAS CATALOG文件(SAS7BCAT)。而且我总是收到此消息:
ERROR: File DIFTFMT.FORMATSX64.CATALOG was created for a different operating system.
谁可以将我的CATALOG格式转换为DATASET格式?这样,我将能够创建自己的目录!
谢谢。
供您参考:用于创建此CATALOG文件的操作系统是9.0401B0X64_S08R2
重新修正错误的代码:
/* SAS CODE BEGIN*/
libname diftfmt '/ec/local/sas/data/training/OrionStar/orfmt';
options fmtsearch=(diftfmt);
PROC FORMAT library=diftfmt.formatsx64 fmtlib;
RUN;
/* SAS CODE END*/
找到操作系统的代码:
/* SAS CODE BEGIN*/
filename test
"/ec/local/sas/data/training/OrionStar/orfmt/formatsx64.sas7bcat";
DATA enc (keep=encoding);
length encoding $ 20;
infile test truncover scanover;
input @'9.0' enc $14.;
encoding = '9.0' || enc;
RUN;
/* SAS CODE END*/