Hi, All!
When I read a external file into SAS Base, At the Log, There are some file information export, How can I get them into SAS variables? Such as file size, Modify time, Create time. If the file is not exist, How can i get the not exist information?
There is a sample as following.
NOTE: 没有为文件引用名“#LN00206”(用于文件“C:\lsdata\20100721_03_010407_D_0001_P_00.verf”)指定编码。
该文件中的字节顺序标记表明数据是以“utf-8”编码的。该编码将用于处理该文件。
NOTE: Infile "C:\lsdata\20100721_03_010407_D_0001_P_00.verf" 是:
文件名=C:\lsdata\20100721_03_010407_D_0001_P_00.verf,
RECFM=V,LRECL=1536,文件大小(字节)=216,
上次修改时间=2010年09月10日 15时50分33秒,
创建时间=2010年09月08日 15时15分02秒