Thank you for your quick reply. I am not sure if you understood what I am doing.
After "ISREDIT END" only the member is closed. The macro is still running and it runs fine. I could for instance open a different member and perform actions against it. The "END" is ending the member which is edited, not the macro.
And to your second objection. I can edit a member which is already open using an editmacro. That is what editmacros are for (I guess).
To summerise it again: I open that editmacro from the member I am currently editing. I then want to close the member (ISREDIT END, RC=0) and I expect the member to be closed and to be free. I can't perform any actions like "ISREDIT SAVE" after the end (because it is closed), but when I try to open the member again, it says it is still in use by myself. It seems, like the the "ISREDIT END" is only half performed and fully performed after the Edit Macro ended. So I am looking for a solution to do that reopen again.
But maybe you are right and I miss some point in general
If someone has any idea though, ...
"Freedom is not worth having if it does not include the freedom to make mistakes"