* 카탈로그 파일이 생성된 버젼 확인가능;
* 원본 : 8.0202M0WIN_PRO;
* 수정 : 9.0301M2X64_7PRO;
filename fmt %str("c:\work\kcis.sas7bcat");
data x;
length version $120;
infile fmt lrecl=1000 truncover;
input theline $1000.;
test=substr(theline,210,20);
test2=test;
format test2 $hex40.;
if _n_ =1 then do;
version_loc = index(theline,'2E'x);
if version_loc>0 then do
version = substr(theline,version_loc-5,30);
end;
end;
if version ne ' ' then output;
*keep version;
run;
/* Display the SAS version and operating system. */
proc print data=x;
run;
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!