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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 465 views
  • 1 like
  • 2 in conversation