BookmarkSubscribeRSS Feed
thanikondharish
Fluorite | Level 6
D:/folder1.
In my D drive there is one folder name is Folder1.
In Folder1 there is one Excel file.
How find that excel filename and that file created date like see below....
File_name. Time
Students.xlsx. 10:23:22
6 REPLIES 6
andreas_lds
Jade | Level 19

Can you use os-commands in your sas-session?

If not, use the functions dopen, dread and finfo to get the information.

andreas_lds
Jade | Level 19

@thanikondharish wrote:
How to write code

You haven't answered my question. When you read the documentation of the functions i mentioned you should be able to write the data-step.

VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

@thanikondharish How to write code

you practice, 

 

here is one way bring up a DOS or a PowerShell window and type help.

C:\> help

or

C:\> help fc

 

 

 

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 6 replies
  • 1748 views
  • 3 likes
  • 4 in conversation