BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] SAS/ACCESS Interface to Oracle 라이선스로 Oracle DB에 연결하는 방법을 알고 싶습니다.

Started ‎09-29-2021 by
Modified ‎09-29-2021 by
Views 556
  1. 라이선스에 SAS/ACCESS Interface to Oracle가 포함되어 있는지 확인
    SAS 확장편집기에 아래 문장을 실행하신 후, 로그에 출력된 내용에 해당 모듈이 포함되어 있는지 확인
    proc setinit noalias;
    run;
  2. 오라클 클라이언트 설치

    또한, PC 에 오라클 클라이언트가 설치되어 있어야 합니다. 오라클 클라이언트가 설치되어 있다면 버전 정보를 확인 부탁 드립니다. 오라클 클라이언트의 버전은 SAS9.2는 Oracle 9i. Release 2, SAS9.3은 Oracle10g, 그리고 SAS9.4Oracle 11g 이상 이어야 합니다.

    자세한 사항은 아래의 링크를 참조 부탁 드립니다.

    [참조 URL1 : System Requirements 9.2] http://support.sas.com/documentation/installcenter/en/ikfdtnwinsr/62187/PDF/default/sreq.pdf (78 page)
    [참조 URL2 : System Requirements 9.3] http://support.sas.com/documentation/installcenter/en/ikfdtnwinsr/64429/PDF/default/sreq.pdf  (22 page)
    [참조 URL3 : System Requirements 9.4] http://support.sas.com/documentation/installcenter/en/ikfdtnwinsr/67228/PDF/default/sreq.pdf (14 page)

  3. 오라클 DB 연결

    Oracle client tool에서 정상적으로 ORACLE DB Server에 접속이 가능하다면, Oracle 접속 정보를 이용하여 SAS에서 oracle에 연결할 수 있습니다.

    (ORACLE Client를 설치한 후, SQL*Plus를 통해 DB Server에 접속 여부 확인하는 부분은 DB담당자에게 요청하여 진행하시기 바랍니다.)

    SAS를 시작한 후 프로그램 편집기 창에서 아래와 같이 라이브러리를 할당하면 됩니다.

    libname ora_lib oracle user="userid" password="password" path="path" ;

    <userid>: 오라클 접속 userid

    <password>: 오라클 접속 userid의 암호

     

 

Version history
Last update:
‎09-29-2021 10:11 PM
Updated by:
Contributors

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Article Labels
Article Tags