BookmarkSubscribeRSS Feed
Peter_C
Rhodochrosite | Level 12
does the import wizard in EG make the file created/modified date attributes available for storing in a data set header or macro variable?

(I understand that SAS92 makes the information available through a base SAS function as documented for the foptnum() function at http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/win-func-foptnum.htm

It would be good if "owner" was among the attributes accessible through the function handling (better still, _all_ attributes available from the op.sys - whatever that is)

peterC
3 REPLIES 3
ArtC
Rhodochrosite | Level 12
Peter,
I do not know of an option to retrieve the owner, but would the creation date in FINFO be helpful?
Art
Peter_C
Rhodochrosite | Level 12
thank you Art
yes, a FINFO date would be good.
Is it made available by the EG import wizard(s)?
FINFO in SAS913 doesn't provide dates, so op.sys must be queried - I would rather the EG wizard queried the op.sys.

(otherwise I have another positive reason for client's to get up-to-date)

peterC
ChrisHemedinger
Community Manager
Peter,

I don't think the Import Data task propagates any attributes of the file it imports on to the output data set. That's an interesting idea though. You should submit that one as a suggestion to technical support, with a use case for how you might see it used.

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1177 views
  • 0 likes
  • 3 in conversation