BookmarkSubscribeRSS Feed

[SAS 프로그래밍 고수 백승민] [FILENAME EMAIL] SAS에서 이메일 보내기

Started ‎06-11-2020 by
Modified ‎06-11-2020 by
Views 184

* 출처 : http://cafe.daum.net/statsas/3F8j/207

 

* SAS에서 이메일을 보낼 수가 있습니다.

* BATCH 작업 결과를 메일을 통해서 확인이 가능합니다.;

* 단, SAS가 탑재된 시스템에서 이메일 발송이 가능한 환경이 사전에 구축되어 있어야 함.


filename outbox email;

data _null_;
   file outbox
      to=("seungmin.baek@XXX.co.kr")  /* 받는사람 */
      cc=("seungmin.baek@XXX.net")       /* 참조 */
      BCC=( "seungmin.baek@XXX.com")      /* 숨음참조 */
      subject="My SAS Output"         /* 메일제목 */
      attach=('C:\WORK\kbl1.txt' 'C:\WORK\test.sas7bdat'); * 첨부파일;
   put '백승민에게'; * 메일 본문;
   put '결과파일 송부';
run;

Version history
Last update:
‎06-11-2020 09:52 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