About Macros

A macro is a sequence of Exec keyins (or commands) that are submitted to an OS 2200 partition. A macro

See the Exec Operations Reference Manual for detailed descriptions of each keyin, including restrictions that apply to that keyin.

See Macro and Macro Generator Security Considerations for security information on macros.

Creating Macros

You create a new macro file using the OS 2200 Console View Macro Editor or a text editor of your choice. Macro file names must have a .macro extension. See Macro Example for a sample of a macro. You can use this sample as a starting point for creating your own macros.

Macro files are stored in the installation-data-folder\os2200-macros folder on the Operations Server that hosts the console. installation-data-folder is specified during the installation of Operations Sentinel. If more than one level of Operations Sentinel is installed, the data folder that corresponds to the level executing is used.

The macro names (displayed on Macros on the Tools menu) correspond to macro file names (without the extension) on the Operations Server where the OS 2200 console is hosted.

Comparing Macros to Friendly Console Scripts

Macros are similar to Friendly Console scripts (for the PC Console in the previous architecture), except you can

You must manually migrate Friendly Console scripts (for the PC Console in the previous architecture) to OS 2200 Console View macros. See Compatibility Considerations for more information.