调用 SAS 9.2 从命令行编辑程序(Windows) [英] Invoking SAS 9.2 to edit a program from the command line (windows)

查看:18
本文介绍了调用 SAS 9.2 从命令行编辑程序(Windows)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在谷歌上搜索了一个小时,但找不到最简单的方法.

I've been Googling for an hour and can't find what should be the easiest thing.

我想从命令行调用 SAS 来编辑一个 SAS 程序.

I want to invoke SAS from the command line to edit a SAS program.

如果我这样做:

C:Program FilesSASSASFoundation9.2(32-bit)sas.exe mysasprogram.sas

它只是执行 mysasprogram.sas.

it simply executes mysasprogram.sas.

救命!

谢谢!

推荐答案

在浏览了我的注册表和更多谷歌搜索之后,我得到了这个解决方案,这似乎可行.不过我玩的还不够多,不知道SAS.EXE和SASOACT.EXE的区别.

After digging through my registry and some more Googling, I got to this solution, that seems to work. However, I haven't played enough to know the differences between SAS.EXE and SASOACT.EXE.

SASOACT.EXE action=Open datatype=SASFile filename="mysasprogram.sas"

这篇关于调用 SAS 9.2 从命令行编辑程序(Windows)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆