BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] SET 문

Started ‎10-20-2021 by
Modified ‎10-20-2021 by
Views 269
  • 기 존재하는 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:

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Article Labels
Article Tags