Syntax to make a transposed dataset the active one.

I have generated a transposed file after applying the FLIP procedure. It is called *Untitled[ ] by default and is out of view on the Taskbar. I need to bring it into view as the front window, replacing its parent dataset as the active one but using Syntax rather than clicking on it. I need to repeat this several times in a batch process that I can run automatically without manual input.

I have referred to online help and the internet as well as my pdf manuals and tried combinations of DATASET DECLARE, DATASET ACTIVATE and DATASET NAME but have not been successful.

Thank you for any help.