BookmarkSubscribeRSS Feed

[SAS 프로그래밍 고수 백승민] [운영환경] SAS파일이 생성된 운영환경 확인

Started ‎06-11-2020 by
Modified ‎06-11-2020 by
Views 55

* 카탈로그 파일이 생성된 버젼 확인가능;

 

* 원본 : 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;
 

Version history
Last update:
‎06-11-2020 10:16 PM
Updated by:
Contributors

SAS Innovate 2025: Call for Content

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!

Submit your idea!

Article Labels
Article Tags