I am new in ISPF macro world ...
For example I am editing member and before I close the member I need to change all ~~ to @@ ... so if I put in any line ~~ , when I next time open the member I should see @@ where I type ~~ ... is it possible?

for Prino , I like one of your post: "If you do not have any solution or idea or any information then just stay away for this discussion.
And that's what I will do with every future posting from you on this forum." ... maybe you can apply your advice to yourself?

anyway if You want it automated the only way IIRC is to use an INITIAL EDIT macro

and then You will have to enter @@ instead of ~~

since there are no global exits for edit termination You are out of luck
Your alternatives are
1) disable all the ispf edit termination commands and substitute them with Your own edit macros
( remember also that You will have to intercept also the CRATE and REPLACE -
You would not want the CREATED/REPLACED members polluted by the ugly ~~ chars )

2) write an edit macro ( could the same initial edit macro )
and remember to use it before saving or replacing/creating things

Thank you, Enrico ... as always your suggestion if very informative. I think I have to find other solution for my problem. The problem that in IDZ ( former RDZ) in host connect emulator there is no not equal sign - idea was to use ~ but when user close the edit it should be converted to not equal sign. Initial macro is not good for that - it run when you open edit, not when you close the edit. So, will try to find not macro solution and this topic could be closed. Thank you again.

I have a different but somewhat similar suggestion:
1. set an initial macro
2. in the macro, use DEFINE macro statement to create an alias for END so that it executes a second macro when the END key is pressed.
3. In this other macro, issue the change that you want, then use BUILTIN macro statement to actually do real the END.