BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] Global statements – ODS(Output Delivery System)

Started ‎11-04-2021 by
Modified ‎11-04-2021 by
Views 461
  • SAS 결과물을 HTML, PDF 등의 다른 파일 형식으로 생성.

ODS destination FILE=’파일명’;

결과를 생성하는 프로시져(들)

ODS destination CLOSE;

 

◀예제▶ Excel 에서 오픈 가능한 파일들 생성.

ODS csvall FILE = ‘학생정보.csv’;

ODS msoffice2k FILE = ‘학생정보.html’;

ODS tagsets.excelxp FILE = ‘학생정보.xml’;

 

PROC PRINT DATA=sashelp.class;

RUN;

 

ODS _ALL_ CLOSE;          /* 열린 모든 destination 닫기 */

ODS LISTING;                /* 출력창 활성화 */

Contributors
Version history
Last update:
‎11-04-2021 03:10 AM
Updated by:

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Article Labels
Article Tags