BookmarkSubscribeRSS Feed

[SAS 프로그래밍 고수 백승민] SAS 스케쥴 작업 사용하기

Started ‎06-11-2020 by
Modified ‎06-12-2020 by
Views 139

1. 제어판의 예약된 작업 사용
   : 보통 Windows에서 스케쥴 작업시 사용

 

* 참고 : http://eknote.tistory.com/778

 

* 예제 :

 

 - 실행 : "F:\kcis\05.pgm\18. 보상정보계\보상정보계_일마감.bat"
 - 시작위치 : "F:\kcis\05.pgm\18. 보상정보계"
 - 보상정보계_일마감.bat 파일 내용
   ( 로그 삭제 / SAS실행파일 위치 / SAS실행시 참조 CONFIG 위치 / SAS실행시 참조 AUTOEXEC 파일 위치 / SAS 작업 파일명 / SAS 작업시 로그파일 위치)
 


   del "F:\kcis\05.pgm\18. 보상정보계\보상정보계_사고접수.LOG"

 

   "C:\Program Files\SAS\SAS 9.1\sas.exe"
   -CONFIG f:\kcis\init\SASV9.CFG
   -AUTOEXEC f:\kcis\init\AUTOEXEC.SAS
   -sysin "F:\kcis\05.pgm\18. 보상정보계\보상정보계_사고접수_일작업_v2.sas"
   -LOG "F:\kcis\05.pgm\18. 보상정보계\보상정보계_사고접수.LOG"

 

2. SAS함수 : SAS가 항상 실행되어 있어야함.

 

* SLEEP 함수 : http://www.statwith.pe.kr/SAS/1.FUNCTION/F0374.htm
* WAKEUP함수 : http://support.sas.com/onlinedoc/913/getDoc/ko/hostwin.hlp/win-func-wakeup.htm

 

Version history
Last update:
‎06-12-2020 02:41 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