although I searched the forum and found some proposals close to my issue, I would like to ask just in case to be sure I have correct answer:
[Q] I have a program (with attached transaction code) which usualy runs as a task in background job, but may be started in foreground also. What I need is to prevent possiblity to start it in two paralel sessions (as per server context, not per frontend).
Is it possible and what is the proper way to do that?
Many thanks in advance.