BookmarkSubscribeRSS Feed
Babloo
Rhodochrosite | Level 12

Assume I've too many .sas files in one of the folder in SAS EG and now how to find for the /SAScode in those programs and if it is available I will need to find the program name.

 

Right now I'm doing it manually (opening the .sas and finding the word) and also I do not have access to LINUX Servers.

1 REPLY 1
Jagadishkatam
Amethyst | Level 16

so you mean you cannot use the X command, could you please try the below code

 

X 'grep -il word ./*.sas';

 

 

Thanks,
Jag

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 553 views
  • 0 likes
  • 2 in conversation