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!


 

 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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