I think you may also need to get "Local role" either via : uemcli /prot/rep/session show -detail or uemcli /prot/rep/session show -filter "Local role" (along with other values).Then you can decide the left values that is local to that box.
I'm looking for a method of determining source and target volumes in Unity uemcli environment. Also It's very interesting to determine a direction of replication for the volumes.  I'm writing a script for using in AIX PowerHA configuration. This script should has ability to determine a place of source or target volumes and select an action according this place. But an output of uemcli /prot/rep/session -name xxxx command shows: 1:    ID = yyy       Name = xxx       Session type = block       Synchronization type = sync       RPO = N/A       Sync State = consistent       Health state = OK (5)       Operational status   = Active (0x840d)       Time of last sync = N/A       Sync status =       Element pairs = sv_240=>sv_174, sv_241=>sv_175, sv_242=>sv_176, sv_239=>sv_17 And I don't see what kind of volumes placed on this site.   Do we have any method to recognize a direction of replication from uemcli?     
How to determine a direction of replication