where a macro would still have to step through each system and each command.
why ?
Push it out to any system and edit any dataset you want (that you have access to). It doesn't need to open it at all!
does'n' t the command You are using follow the same road ???
it will not open the dataset in an interactive session, but it will anyway open it to process it