How to use Positions Details in multiple sets

Suppose we have 6 set , Each set have 1time exit, all the set have only two leg one is sell side call and other is put side short.
Now how to use Positions Detail keyword to avoid reentry in each set?
Please Help.