BookmarkSubscribeRSS Feed

[SAS 옵션] SAS9.4(64BIT) 데이터를 SAS9.2(32비트)에서 읽기

Started ‎06-14-2020 by
Modified ‎06-14-2020 by
Views 231

* 출처http://support.sas.com/documentation/cdl/en/lrcon/68089/HTML/default/viewer.htm#p1ldhc0p7imdegn1hie6...

 

* SAS9.4에서 SAS9.2 에서 생성한 데이터를 읽는 경우 에러 발생;

 ERROR :  File LIBNAME.XXXX.DATA not compatible with this SAS version. LIBNAME.XXXX cannot be opened.

 

 

EXTENDOBSCOUNTER 옵션 



* EXTENDOBSCOUNTER= 데이터셋 옵션으로 출력 SAS 데이터 파일의 최대 관측 치 개수를 늘릴 수 있습니다.

* 새로운 데이터셋 옵션 EXTENDOBSCOUNTER= 32 비트 정수(Long) 최댓값을 초과하여 관측치를 계산하는 향상된 파일 형식을 생성합니다

* 새로운 EXTENDOBSCOUNTER= 옵션 은 출력 SAS 데이터 파일에 대해 32 비트 길이의 최댓값을 초과하여 관측치를 계산하 는 확장된 파일 형식을 요청합니다.

 

* SAS 9.4(64비트)에서 아래와 같이 데이터를 생성하면, SAS9.2에서 데이터 사용 가능;

libname myfiles 'C:\MyFiles';

 

data myfiles.bigfile (extendobscounter=no);

   .

   .

   .

run; 

 

libname new 'C:\NewFiles' extendobscounter=no;

libname old 'C:\OldFiles'; 

proc copy in=old out=new;

run;  

 

Version history
Last update:
‎06-14-2020 09:42 PM
Updated by:
Contributors

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Article Labels
Article Tags