BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] SAS Studio에서 코드를 통해 CAS에 테이블을 로딩하는 방법을 알려주십시요.

Started ‎10-14-2021 by
Modified ‎10-14-2021 by
Views 239

SAS Studio에서는 Snippet 기능을 통해 Sample Code를 제공하고 있습니다.

아래의 sample code를 참고하시어 활용 부탁드립니다.

 

[파일형태를 로드하는 경우]

proc casutil;

load file="pathToClientFile"

outcaslib="myCaslib" casout="tableNameForLoadedFile";

run;

 

[SAS 기본 라이브러리의 테이블을 로딩하는 경우]

proc casutil;

load data=library.tablename outcaslib="myCaslib"

casout="targetTableName";

run;

 

[다른 CAS 라이브러리에서 테이블을 로딩하는 경우]

proc casutil;

load casdata="sourceTableName" incaslib="sourceCaslib"

outcaslib="targetCaslib" casout="targetTableName";

run;

Version history
Last update:
‎10-14-2021 06:13 AM
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