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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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