SAS中文论坛

标题: SAS EG 错误 1 [打印本页]

作者: shiyiming    时间: 2006-2-28 00:53
标题: SAS EG 错误 1
问题:
当运行 LOGIN WINDOWS 时:

ERROR: The DATA STEP windowing environment cannot be initialized due to a XU supervisor failure.

能否在EG中解决LOGIN?我需要DATABASE NAME, USER ID, PASSWORD 去读取在ORACLE 的资料。

谢谢了。
作者: shiyiming    时间: 2006-3-1 16:20
标题: to oooh
你的EG是什么版本?LOGIN WINDOWS是通过运行%Window statement什么出来的吗?

参见 <!-- m --><a class="postlink" href="http://support.sas.com/techsup/unotes/SN/010/010201.html">http://support.sas.com/techsup/unotes/S ... 10201.html</a><!-- m -->
作者: shiyiming    时间: 2006-3-1 21:20
标题: tech
this is the reply from SAS tech support:


EG does not support non-EG windows to prompt for
user input such as with the window commands.

In EG 4.1, currently scheduled for end of March, you
can use a new feature called the Parameter manager
which will allow you to write a simple data step
which includes macro variables registered in the
Parameter manager so that when you run the code
the user will be prompted for input.

However, there will not be any control over the position
of where the prompts display on the screen...they will
be listed vertically.
作者: shiyiming    时间: 2006-3-1 21:25
标题: additional questions :D
my EG is v3.

1, the login windows i am referring is the following code. end user need this to enter database, user id, and password.

2, can i use the EG administrator to llimit the user's access to library, such as project A1208?

3, my SAS and EG are all installed on PC, not server, then can i use the EG administrator to control end-user's screen from my computer? eg no. of tasks, user id and password to oracle db...

thx



DATA _null_;

      length path $10. SCHEMA $10.;

    path="OCPROD";

      schema="S&study.$STABLE";

      WINDOW LOGIN COLOR=GRAY



          #2  @15  "           Oracle Clinical Login"

            #3  @15  "----------------------------------"

            #5  @15  "   USERNAME: "

                         USER $20. COLOR=WHITE ATTR=rev_video REQUIRED=yes " (ops$lastnamef)"

            #7  @15  "   PASSWORD: "

                         PASSWORD $20. COLOR=WHITE ATTR=rev_video REQUIRED=yes

            #9  @15  "       PATH: "

                         PATH $20. COLOR=WHITE ATTR=rev_video REQUIRED=yes

            #11  @15  "     SCHEMA: "

                         SCHEMA $20. COLOR=WHITE ATTR=rev_video REQUIRED=yes

      ;     

      DISPLAY LOGIN;




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