由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - sas email
相关主题
请教一个SAS Macro的问题[合集] SAS manual太厚了,大家怎么学的,欢迎探讨!!!
Help: an I/O ERROR occured[合集] 继续读phd还是找工作
在线等:急问大牛帮我看看SAS macro里的问题[合集] SAS问题求助-如何把普通变量的值传递给宏变量
ERROR: UNABLE TO ACCESS MESSAGE 383.857[合集] Biostatistician or SAS programmer interview questions
[合集] 一个sas问题[合集] 俺也来问问找工作问题(非统计专业)
SAS 求助: filenames[合集] 请教:关于统计工作都做些什么
macro问题诚心求教非常感谢--continue question[合集] 急问!!有谁去过 UnitedHealthcare 的面试? 给点建议吧.
[合集] risk analysis 都用什么方法啊?申请统计版板斧
相关话题的讨论汇总
话题: rptmail话题: error话题: emailsub话题: lkupmail话题: sas
进入Statistics版参与讨论
1 (共1页)
f********l
发帖数: 26
1
I use the following code to send myself an email after a batch submission.
%macro rptmail;
filename lkupmail email
to=("k*[email protected]")
bcc=("m*[email protected]")
subject="&emailsub. SAS complete";
data _null_;
file lkupmail;
put "Hi, &emailsub. is now completed!";
run;
%mend;
%rptmail;
the error code of this is as following:
ERROR: Unable to connect to SMTP server.
ERROR: connect call failed, system error is 'Connection refused'.
what should I do to correct this?
Thanks!
p********a
发帖数: 5352
2
Your filename statement is too long
%macro rptmail;
filename lkupmail email;
data _null_;
file lkupmail
to=("k*[email protected]")
bcc=("m*[email protected]")
subject="&emailsub. SAS complete";
put "Hi, &emailsub. is now completed!";
run;
%mend;
%rptmail;
f********l
发帖数: 26
3
Thanks, papertigra.
Actually both your and my script work from my PC SAS.
If I add
rsubmit;
%macro rptmail;
%mend;
%rptmail;
endrsubmit;
this script doesn't work.
I am just wondering if it's because the server's problem.
1 (共1页)
进入Statistics版参与讨论
相关主题
申请统计版板斧[合集] 一个sas问题
[合集] 这个题目什么意思啊,我怎么看不明白呢?能不能帮忙解释一下。SAS 求助: filenames
[合集] Question in Excelmacro问题诚心求教非常感谢--continue question
电话面试,对方要求SAS code samples[合集] risk analysis 都用什么方法啊?
请教一个SAS Macro的问题[合集] SAS manual太厚了,大家怎么学的,欢迎探讨!!!
Help: an I/O ERROR occured[合集] 继续读phd还是找工作
在线等:急问大牛帮我看看SAS macro里的问题[合集] SAS问题求助-如何把普通变量的值传递给宏变量
ERROR: UNABLE TO ACCESS MESSAGE 383.857[合集] Biostatistician or SAS programmer interview questions
相关话题的讨论汇总
话题: rptmail话题: error话题: emailsub话题: lkupmail话题: sas