You can run a macro from:
the RealView Debugger command line, either directly or in a command script
another macro definition (but a macro cannot be called recursively).
See also:
Running a macro directly at the RealView Debugger command line
Running a macro that returns a value
Running a macro that has the same name as a CLI command
Running a macro that has the same name as a target function.