BookmarkSubscribeRSS Feed
Aditi24
Obsidian | Level 7

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
1 REPLY 1
CarolB
Fluorite | Level 6

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

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1082 views
  • 0 likes
  • 2 in conversation