retain set statement

Hi all,

“retain set” statement :

I would like to know which “set” are in a current memory.
I would like to have the list , so that I can removed all.
Is it true that “release set” only works when you left the module?
is it true that when we logon to another library all the “set” are released?

We have some strange behavior with “set”, we use “set” to be compare to each other and sometimes after many operations we have bad result.

Is there a life time for a “set” ?

thanks for all,
Laurent.

Sets only hold a list of ISNs, not the contents of the records. So, what do you want to compare? Records before and after update? This does not work.

How sets work an everything about the lifetime of sets can be found in the documentation (se the link on the left side of this page)