Tivoli® Storage Manager supports macros on the administrative client. A macro is a file that contains one or more administrative client commands. You can only run a macro from the administrative client in batch or interactive modes. Macros are stored as a file on the administrative client. Macros are not distributed across servers and cannot be scheduled on the server.
For more information on administrative commands, see Writing commands in a macro.
For more information on comments, see Writing comments in a macro.
For more information on continuation characters, see Using continuation characters.
For more information on variables, see Using substitution variables in a macro.
The name for a macro must follow the naming conventions of the administrative client running on your operating system. For more information about file naming conventions, refer to the Administrator's Reference.
In macros that contain several commands, use the COMMIT and ROLLBACK commands to control command processing within the macro. For more information about using these commands, see Command processing in a macro.
You can include the MACRO command within a macro file to invoke other macros up to ten levels deep. A macro invoked from the Tivoli Storage Manager administrative client command prompt is called a high-level macro. Any macros invoked from within the high-level macro are called nested macros.