BookmarkSubscribeRSS Feed
user24feb
Barite | Level 11

Hello,

 

When I run a certain process flow in Enterprise Guide in batch I get the following error message:

 

ERROR: You cannot open xxx for output access with member-level control because
xxx.DATA is in use by you in resource environment IOM ROOT COMP ENV.

 

If I run the programs separately, I don't get an error message. What am I doing wrong?

 

Thanks & kind regards

2 REPLIES 2
Kurt_Bremser
Super User

You most probably have "add results to project" and "open results automatically" activated. So one of your nodes creates a dataset, which is automatically added to the project tree and open for display in the background, while the next node wants to overwrite that dataset.

RB1Kenobi
Quartz | Level 8

Hi

Two thoughts from me:

1. Have you checked that your batch EG and windowed EG are using the same autoexec (check the logs)?

2. Are you using %sysfunc(open(.....)) wihin your code?   If so, are you closing the dataset with %sysfunc(close(...)) as it could be that the table is remaining open and therefore locked for user access.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 5776 views
  • 0 likes
  • 3 in conversation