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.
Some of our jobs hang like that. We were able to fix it by putting -noterminal after the submission statement.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.