最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

sas macro - Why is the SAS automatic scheduler blocking the sending of emails from SAS? - Stack Overflow

programmeradmin3浏览0评论

When I try to run this code to send an email manually, it works fine, but when I use the SAS scheduler to send the email automatically, it doesn't work. How can I proceed, please?


filename mymail email FROM= "[email protected]"
TO=(
"[email protected]" 

)
Cc=("[email protected]" "[email protected]"

)
        TYPE="text/html"
        CONTENT_TYPE="text/html";

DATA _null_;
    FILE mymail
         SUBJECT="Contrôle Mensuel QDD: Bases SITMVT et SINRC1"
    ;
    PUT 'Hello,'
      / '<br><br><br>'
    ;
    PUT '<br>';
    if &NBB = 0 AND &NombreStockSITMVTB = &NombreBaseSITMVTB  then PUT
       "-Le contrôle QDD est OK pour SIT."
    ;
    else PUT
       "-Le contrôle est KO pour SIT. "
       "On vous invite à vérifier les résultats en exécutant ce code  (Les résultats sont stockés dans la table de sortie SITMVTB."
    ;

    RUN;


SYSTEM@SRVPSASCOMP11 - ERROR Undetermined I/O failure. 
SYSTEM@SRVPSASCOMP11 - NOTE The SAS System stopped processing this step because of errors. 
SYSTEM@SRVPSASCOMP11 - NOTE DATA statement a utilisé (Durée totale du traitement)  
SYSTEM@SRVPSASCOMP11 -       real time           0.09 seconds 
SYSTEM@SRVPSASCOMP11 -       cpu time            0.00 seconds 
SYSTEM@SRVPSASCOMP11 -        
SYSTEM@SRVPSASCOMP11 -  
SYSTEM@SRVPSASCOMP11 - ERROR Errors printed on page 56. 
SYSTEM@SRVPSASCOMP11 -  
SYSTEM@SRVPSASCOMP11 - NOTE SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 
SYSTEM@SRVPSASCOMP11 - NOTE The SAS System used 
SYSTEM@SRVPSASCOMP11 -       real time           558.85 
SYSTEM@SRVPSASCOMP11 -       cpu time            234.10 
发布评论

评论列表(0)

  1. 暂无评论