In reply to Leonid Batkhan.

Hi Leonid,
You were right, as always :-). I got an answer on SAS Support Communities (https://communities.sas.com/t5/SAS-Data-Management/Endsas-does-not-cause-DI-Studio-to-exit-is-it-the-expected/m-p/844857#M20624) that confirms your "guess".
Kind regards
Anne.