BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] SET 문

Started ‎10-20-2021 by
Modified ‎10-20-2021 by
Views 313
  • 기 존재하는 SAS data set 이나 EXCEL 파일을 읽을 때 사용.
  • 모든 변수와 모든 관측치를 읽음.

SET input-SAS-data-set;

 

◀예제▶ SAS data set 읽기

 

DATA class;

SET sashelp.class;

RUN;

 

◀예제▶ EXCEL 파일 읽기

 

LIBNAME myxls ‘c:\mydata\class.xls’;

DATA new;

SET myxls.sheet1$n;

RUN;

 

Contributors
Version history
Last update:
‎10-20-2021 09:06 PM
Updated by:

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
Article Labels
Article Tags