由买买提看人间百态

topics

全部话题 - 话题: sysparm
(共0页)
s******d
发帖数: 303
1
When using Scan to get individual Parm value, do i need to put & before
Sysparm. for example.
%let Parm1=%scan(&Sysparm,1,'|');
or
%let Parm1=%scan(Sysparm,1,'|');
A*******s
发帖数: 3942
2
刚刚开始学multi-thread programming,有个问题是,how to pass the parameters'
values into each thread? 我在每个thread调用的程序里只会用&sysparm,但是如果
每个程序都需要用到不同的参数该怎么办?
不懂X command,可以在里面加上参数么?
A*******s
发帖数: 3942
3
oloolo的blog,http://www.sas-programming.com/2009/03/leverage-multi-core-with-single-core.html
还有他引用的几篇文章。
我似乎搞懂了sysparm怎么用了。
A*******s
发帖数: 3942
4
郁闷了,有个错误咋都不明白怎么回事。
systask command '"C:\Program Files\SAS\SASFoundation\9.2\sas.exe"
-sysin "C:\threadtest.sas"
-sysparm "for test" -log "C:\logtest.txt"'
taskname=test1 status=teststatus1;
老是提示我Error: invalid file C:\threadtest.sas
为啥invalid呢,想不明白
s******d
发帖数: 303
5
I saw this document too. The problem with SYSPARM is it only allows 1 system
parameter. What if i need to change multiple %let in the source code?
A*******s
发帖数: 3942
6
use delimiters and use %scan to separate them in ur macros, for example
-sysparm parm1|parm2|parm3

system
S******y
发帖数: 1123
7
来自主题: Statistics版 - 有没有人能贡献点UNIX SAS的经验?
I have written some (Shell + SAS sysparm ) batch scripts to view my
SAS data set on Unix.
For example --
If I have a SAS data set called - mytestdat.sas7bdat
I will type the following command on Unix -
> see mytestdat
then I will automatically get a file called _see.lst, which contains
PROC CONTENTS and PROC PRINT (top ten records) output.
Following the same logic, I have developed a number of scripts -
> freq 'mytestdat|loss_year'
to see freq by loss_year variable
> summary 'mytestdat|loss_year... 阅读全帖
(共0页)