@gabriel_k wrote:
..... i just wanted to have a possibility to look on tables thrue the SAS Guide.
This is probably the source of your problems. Viewing a dataset through EG will always prevent the lock that is needed for update.
If you just need to update specific parts of datasets, SAS/SHARE might help (if you have it licensed and set up).
My method to prevent ERRORs caused by open datasets is specific to UNIX. To update a dataset, I do the update in WORK, then I use the operating system to remove the link (directory entry) to the file (UNIX rm command), and then recreate the dataset from the table in WORK.
This is possible because the rm removes the reference, but not the file. Only when a file is found to have no further reference defined, the physical data is removed once the last handle closes.