Sas 如何在infle中使用firstobs?
我一直在Sas 如何在infle中使用firstobs?,sas,Sas,我一直在集合中使用firstobs data test ; set test (firstobs=5) ; run ; 最近我看到了一个代码 data test ; infile 'C:xxx' firstobs=5 ; input xxx ; run ; 我试着运行它,但不起作用。可以在infle中使用firstobs吗是的,可以这样使用firstobs 从: 将读取观察值50到100。尝试仅使用obs= infile file-specification firstobs=50 o
集合中使用firstobs
data test ;
set test (firstobs=5) ;
run ;
最近我看到了一个代码
data test ;
infile 'C:xxx' firstobs=5 ;
input xxx ;
run ;
我试着运行它,但不起作用。可以在infle
中使用firstobs
吗是的,可以这样使用firstobs
从:
将读取观察值50到100。尝试仅使用obs=
infile file-specification firstobs=50 obs=100;