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?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.