DATA Step, Macro, Functions and more

Problem running batch on Unix server

Reply
Contributor
Posts: 65

Problem running batch on Unix server

I am creating and running batch by submitting to the Unix server. When I do them in succession, everything works fine and no error gets recorded in the log but if I try to remote submit the same batch after some time, I get the below error in the log:-

 

ERROR: File is in use, /backup/adhoc/batchtest007.sas.
ERROR: File is in use, /backup/adhoc/batchtest007.sas.
ERROR: Errors printed on page 1.

Although, the files aren't open anywhere. By checking on UNIX server, I found that a "sasels" process is active(please see attached) which is causing this problem. If I kill the process, the batch gets submitted and the log is generated error free.Please suggest a method to remediate this.


Untitled.png
Occasional Contributor
Posts: 15

Re: Problem running batch on Unix server

Some of our jobs hang like that.  We were able to fix it by putting -noterminal after the submission statement. 

Ask a Question
Discussion stats
  • 1 reply
  • 151 views
  • 0 likes
  • 2 in conversation