BookmarkSubscribeRSS Feed
rebeternity
Calcite | Level 5

I am looking for a specific value from a file located from a specific file path from a drive (e.g., designated C, A, B drive or etc.,), but the file is not a table. The file example could be .TXT or .HL7 or etc., What would be the SAS code for this scenario?  

 

Thank you!

1 REPLY 1
Reeza
Super User

See this post with the exact same question- but using your OS is likely just as fast or reliable. 

 

https://communities.sas.com/t5/Base-SAS-Programming/Searching-SAS-code-for-keywords/m-p/390472

 


@rebeternity wrote:

I am looking for a specific value from a file located from a specific file path from a drive (e.g., designated C, A, B drive or etc.,), but the file is not a table. The file example could be .TXT or .HL7 or etc., What would be the SAS code for this scenario?  

 

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 431 views
  • 1 like
  • 2 in conversation