标题: 急问!sas7bcat文件怎么看 [打印本页] 作者: shiyiming 时间: 2012-3-7 11:03 标题: 急问!sas7bcat文件怎么看 完全盲,现有.sas7bcat文件,这个东西有variable的format和label。想看里面的内容,电脑里也有sas软件,怎么看呢?
多谢!作者: shiyiming 时间: 2012-3-8 02:42 标题: Re: 急问!sas7bcat文件怎么看 It sounds like a format catalog in SAS.
Right click the file and choose Open with SAS9.*; continue to double-click individual formats to look at the details; alternatively, read first the file into a library and then open it with PROC FORMAT:
[code:3j019137]proc format lib =**URlib;
exclude **anImpossibleNameForfomats;
run;[/code:3j019137]
To look at the 1st level formats, i.e., the description of formats, use PROC CATALOG:
[code:3j019137]proc catalog cat=**theName;
contents;
run; quit;[/code:3j019137]