Architecting, installing and maintaining your SAS environment

what is command for cleanwork

Reply
Contributor
Posts: 31

what is command for cleanwork

Hi,

 

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.

 

Thanks.

Super User
Posts: 5,256

Re: what is command for cleanwork

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?

Data never sleeps
Contributor
Posts: 31

Re: what is command for cleanwork

Hi Linush

 

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.

 

Super User
Posts: 6,936

Re: what is command for cleanwork

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).

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Posts: 5,256

Re: what is command for cleanwork

Command not found means that the Linux she'll can't find the command.
Talk to your SAS/Linux server on how to get access to the cleanwork utility.
Data never sleeps
Ask a Question
Discussion stats
  • 4 replies
  • 436 views
  • 0 likes
  • 3 in conversation