投稿

6月, 2014の投稿を表示しています

改行コードを指定してファイルを読み込む termstr - SAS

data test; infile 'test.txt' termstr=lf; input text $; run; termstr= の部分を改行コードに応じて、lf, cr, crlf のいずれかを指定します。 参考サイト Usage Note 14178: INFILE's TERMSTR= option facilitates reading files between UNIX and Windows (英語)