SAS中文论坛

标题: 请教Connect [打印本页]

作者: shiyiming    时间: 2004-4-19 14:47
标题: 请教Connect
前提:
1)client端、remote端处在同一局域网下,且均安装有相关版本的SAS;
2)Server为欲作为remote端的机器名;
3)Server上已经通过命令行,正确执行了spawner.exe -comamid tcp,启动了spawner服务
4)有如下代码:
[code:568dd]%let rmt=Server;
options comamid=tcp remote=&rmt.;
filename rlink 'C:\Program Files\SAS Institute\SAS V8\Connect\SASlink\TCPWin.scr';
signon;
rsubmit;
libname prod "D:\Test\";
proc datasets library=prod;
run;
endrsubmit;
signoff;[/code:568dd]

故障:
若Server为安装Windows 98和SAS的机器则能正确signon,但若Server为安装Win 2000 Advanced Server和SAS的机器则不能signon(安装Win 2000 Advanced Server的机器能正常启动SAS,且在管理工具中已经启用了guest用户,不设密码,通过局域网的网上邻居能够在client端的机器上访问到该机器)

恳请大虾赐教!
作者: shiyiming    时间: 2004-4-19 14:50
能不能把相关错误信息贴上来?
我估计还是Win2000用户管理的问题。
作者: shiyiming    时间: 2004-4-20 09:15
Log如下:

1 %let rmt=Server;
2 options comamid=tcp remote=&rmt.;
3 filename rlink 'C:\Program Files\SAS Institute\SAS V8\Connect\SASlink\TCPWin.scr';
4
5 signon;
NOTE: Remote signon to SERVER commencing (SAS Release 8.02.02M0P012301).
NOTE: Script file 'tcpwin.scr' entered.
NOTE: Logged onto Windows... Starting remote SAS now.
ERROR: Script file interpretation terminated due to error.
ERROR: A communication subsystem partner link setup request failure has occurred.
ERROR: recv call failed, lost connection with client.
ERROR: Remote signon to SERVER cancelled.
6
7 rsubmit;
ERROR: A link must be established by executing the SIGNON command before you can communicate
with SERVER.
ERROR: Remote submit to SERVER cancelled.


另外,我发现TCPWin.scr中有如下一段:
/*-- notes: 1. You must have the spawner program executing on --*/
/*-- the remote 95 or NT workstation in order for the --*/
/*-- local session to be able to establish the --*/
/*-- connection. If the spawner is not running on the --*/
/*-- remote node, you will receive a message telling --*/
/*-- you the connection has been refused. --*/

我怀疑:SAS Connect的remote端是否只能是9X/NT Workstation/2000 Professional/XP等PC机类型,而不能是NT Server类型?
大虾有将NT Server作为SAS/Connect的Remote端的吗?是否NT Server里面有些特殊设置?
作者: shiyiming    时间: 2004-4-20 10:15
从LOG信息看八九不离十就是Window logon的问题,我这里没有NT Server的环境实验。

对了,还要检查一下tcpwin.scr里的SAS启动路径是否正确
[code:c0560]type '"c:\Program Files\SAS Institute\SAS\V8\sas" -device grlink -no$syntaxcheck' LF;[/code:c0560]

做好能有个系统熟的兄弟一起来参详。
作者: shiyiming    时间: 2004-4-21 09:04
拜服大虾!




欢迎光临 SAS中文论坛 (http://mysas.net/forum/) Powered by Discuz! X3.2