BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] SAS Access 라이브러리

Started ‎10-20-2021 by
Modified ‎10-20-2021 by
Views 240

A. 관계형 데이터 베이스 연결

 

LIBNAME 라이브러리명 엔진명< SAS/ACCESS-옵션 > ;

◀예제▶ ORACLE 라이브러리

LIBNAME myora ORACLE USER=edu001 PW=edupw001 PATH=dbnssrv SCHEMA=educ ;

 

B. 엑셀파일 연결

 

LIBNAME 라이브러리명 엑셀파일 < 옵션 > ;

◀예제엑셀 라이브러리

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

DATA new;

SET myxls.sheet1$n;

/* sheet 명 뒤에 $ 같은 특수기호가 있는 경우 표기법*/

RUN;

 

C. LIBNAME myxls clear; /* 라이브러리 할당 해지 */

Version history
Last update:
‎10-20-2021 08:53 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