Hi Kurt,
Just to let you know: it works now...
And I think it went wrong because when I used the program it sometime freezed and when I force close it, it doesn't email anymore...
So I needed to restart the whole SAS-server before it can be used again. Very strange. But that clears the '*' before FILENAME in the macro output I guess... 🙂
Now all good. Thanks for your time and efforts!