12-19-2016 02:31 PM
I want to clean saswork so I am using cleanwork -n <saswork> command in the <SASHOME!/utility/bin path. but it is showing command error in both sunOS and Linux environment.
But in sunOS(SAS 9.2 grid) environment when I use "pbrun cleanwork -n <saswork> it is working. But same thing is not working in Linux(SAS 9.4) environment.
Any suggestiond how to clean saswork.
12-20-2016 04:18 AM
Try to get it to work without pbrun first.
Also, pbrun offers a -d option for debugging. Perhaps that can help you with the cause of the error?
What is the exact error?
12-20-2016 08:37 AM
Thank you for reply.
As I said I did it without pbrun, it shows command not found.
And also as I mentiond that in Sun OS environment when I use " pbrun -n cleanwork <saswork>" it did worked. Where as when I use in linux environment it shows command not found.
01-09-2017 03:15 AM
Since !SASROOT/SASFoundation/9.X/utilities/bin is rarely included in the global PATH variable, you have to run cleanwork with an absolute path name (eg /sasroot/SASFoundation/9.4/utilities/bin/cleanwork).