Hi Team,
Can you please provide your suggestion how we can extract XPT files created date?
In a data step, use the fopen(), foptnum(), foptname() finfo() and fclose() functions.
View solution in original post
data x; rc=filename('x','c:\temp\class.xls'); fid=fopen('x'); do i=1 to foptnum(fid); foptname=foptname(fid,i); finfo=finfo(fid,foptname); output; end; run;
Thank you so much for the Example.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.