BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
amamiche67
Calcite | Level 5

Hi. I have several scanned PDF files in a folder on my computers that consist of information for each study subject. The PDF file names are each respective subjects' ID. I want to import the file names into a dataset in SAS, not really concerned about the information within the files right now. I'm pretty new to SAS and unsure of where to even begin. Does anyone have any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
Does the SAS server have access to your local drive?
If you're using SAS University Edition the answer is no.
If you're using SAS Server then it depends on your installation.

If it does, something like this works, modify the path to your path:
https://communities.sas.com/t5/SAS-Programming/How-to-List-all-the-files-in-a-folder/td-p/674065

View solution in original post

2 REPLIES 2
Reeza
Super User
Does the SAS server have access to your local drive?
If you're using SAS University Edition the answer is no.
If you're using SAS Server then it depends on your installation.

If it does, something like this works, modify the path to your path:
https://communities.sas.com/t5/SAS-Programming/How-to-List-all-the-files-in-a-folder/td-p/674065
amamiche67
Calcite | Level 5

This works, thank you!

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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
  • 2 replies
  • 909 views
  • 0 likes
  • 2 in conversation