Hi,
the command works as follows: it puts UID1 to UID2 in the UID modification table pointing to the same new UID. You should then run command dgate --mergestudyfile:file, on each file of oth studies to be merged. This will generate new series and sop uids and replace the study uid and so effectively merge the studies.
Marcel