全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1706 1
2010-06-10
att
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-6-10 09:50:27
11   data test;
12      infile "c:\files\test.txt" lrecl=1000;
13      input txt :$1000.;
14      txt_len=length(txt);
15      put "The length of variable is " txt_len;
16   run;

NOTE: The infile "c:\files\test.txt" is:
      File Name=c:\files\test.txt,
      RECFM=V,LRECL=1000

The length of variable is 321
The length of variable is 3
NOTE: 2 records were read from the infile "c:\files\test.txt".
      The minimum record length was 3.
      The maximum record length was 321.
NOTE: The data set WORK.TEST has 2 observations and 2 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群