Hi Team,
Given below Unix command is not working in SAS eg with X command. Rest all commands are working fine instead of "archive". Archive is not functioning whenever I am trying to do with SAS eg. However, following command is working fine when I use with the unix editor. Please suggest any solution.
find -type f -not -name '*.txt' -mtime +30 -printf '%P\n' | xargs archive
Thanks,
Abhishek
I don't think archive is an internal command for any Unix shell that I know of.
Perhaps the search path for the Unix session that is running your SAS session does not include the folder where archive command lives?
What does the archive command do? Does it need to interact with a terminal?
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!
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.