BookmarkSubscribeRSS Feed

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

Started ‎11-04-2021 by
Modified ‎11-04-2021 by
Views 324
  • 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;                /* 출력창 활성화 */

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

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

Article Labels
Article Tags