由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - How to define a group of character variables in sas data input statement? Thanks!
相关主题
SAS macro variable help请教一个SAS读中文数据库的问题
SAS infile input 问题统计新人问个自学SAS的问题
SAS file question,thanks very mcuha quick question importing txt into SAS
txt数据文档太大,如何提取到variable list?help with reading a strange csv file into SAS
SAS EG输出到excel 2010多tab一直不行help. txt 读入问题
问个SAS 数据读入的问题sas question
求教SAS问题[合集] 请问sas input的一个问题
reading data into sas 问题请教SAS问题:这个code有什么办法简化吗?
相关话题的讨论汇总
话题: site1000话题: site1话题: input话题: character话题: variables
进入Statistics版参与讨论
1 (共1页)
F*******1
发帖数: 75
1
Site1 - Site1000 are character variables. If I put Site1-Site1000 $ in the
INPUT statement as shown below, only Site1000 is showing as character
variable. Can somebody help me this? Thanks a lot!
data WindSummary;
%let _EFIERR_ = 0; /* set the ERROR detection macro variable */
infile myfile delimiter = ',' MISSOVER DSD lrecl=102590 firstobs=2;
format DataItem $60. ;
INPUT DataItem $ Site1-Site1000 $;
run;
w***z
发帖数: 28
2
try (Site1-Site1000)$
F*******1
发帖数: 75
3
Thanks wnnmz! I tried but it's not working.
w***z
发帖数: 28
4
sorry, forget sth:)
(site1-site1000) ($)
F*******1
发帖数: 75
5
It's working!!! Thanks a lot! You're the man!

【在 w***z 的大作中提到】
: sorry, forget sth:)
: (site1-site1000) ($)

1 (共1页)
进入Statistics版参与讨论
相关主题
请教SAS问题:这个code有什么办法简化吗?SAS EG输出到excel 2010多tab一直不行
请教,base 50 中的题目,问个SAS 数据读入的问题
which 'gaoshou' can tell me the difference between put and input?求教SAS问题
sas help!!reading data into sas 问题
SAS macro variable help请教一个SAS读中文数据库的问题
SAS infile input 问题统计新人问个自学SAS的问题
SAS file question,thanks very mcuha quick question importing txt into SAS
txt数据文档太大,如何提取到variable list?help with reading a strange csv file into SAS
相关话题的讨论汇总
话题: site1000话题: site1话题: input话题: character话题: variables