由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS infile input 问题
相关主题
SAS软件下载地址已失效(as of 3/23/2010)Sas code help- infile
请教下SAS Base 70题的第59题txt数据文档太大,如何提取到variable list?
SAS 求助: filenames关于SAS里TRUNCOVER一问
SAS file question,thanks very mcuhSAS base归来 一点小经验
但谁能解释下truncover 吗?[合集] 刚过了Advanced SAS
问一个很菜的问题 missover truncover的区别请教SAS问题:这个code有什么办法简化吗?
请教用SAS的一个数据处理的问题急了,问道SAS题,(下午考)
sas base (70) problem 59 helpSAS 问题请教
相关话题的讨论汇总
话题: infile话题: sas话题: input话题: v50000话题: v1
进入Statistics版参与讨论
1 (共1页)
t**i
发帖数: 688
1
我的数据是tab格式化的,几万列。都是字符变量,尽管是数字构成的。请教如何确保
SAS读入的时候采用字符型变量格式?
下面这个好像不行。
infile “myfile”firstobs=1 lrecl=1000000 truncover;
input v1 - v50000 $ ;
t**s
发帖数: 156
2
try define the type of the variables first
t**i
发帖数: 688
3
Example code? Like the following?
data test;
infile 'myfile' firstobs=1 dlm=',' lrecl=10000000 truncover;
length v1 - v50000 :$12 ;
input v1 - v50000;
run;
t**s
发帖数: 156
4
yes. work?

【在 t**i 的大作中提到】
: Example code? Like the following?
: data test;
: infile 'myfile' firstobs=1 dlm=',' lrecl=10000000 truncover;
: length v1 - v50000 :$12 ;
: input v1 - v50000;
: run;

1 (共1页)
进入Statistics版参与讨论
相关主题
SAS 问题请教但谁能解释下truncover 吗?
SAS proc format的问题问一个很菜的问题 missover truncover的区别
SAS问题请教用SAS的一个数据处理的问题
请教两个关于SAS的问题sas base (70) problem 59 help
SAS软件下载地址已失效(as of 3/23/2010)Sas code help- infile
请教下SAS Base 70题的第59题txt数据文档太大,如何提取到variable list?
SAS 求助: filenames关于SAS里TRUNCOVER一问
SAS file question,thanks very mcuhSAS base归来 一点小经验
相关话题的讨论汇总
话题: infile话题: sas话题: input话题: v50000话题: v1