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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 521 views
  • 0 likes
  • 2 in conversation