You can create a new macro using the Macro Editor in OS 2200 Console View or a text editor of your choice. See Macro Example to view a sample of a macro.
Anyone can create a macro but you must be a member of the SPO Administrators group to save a macro to the installation-data-folder\os2200-macros folder.
Using the Macro Editor
You can create a macro using the Macro Editor tool in OS 2200 Console View.
To create a macro
Open a view to a console if one is not already open.
On the Tools menu, point to Macros and then click New Macro.
The Macro Editor window opens.
Type the macro's commands in the Macro Editor's workspace.
Execute the macro and/or save the macro. The macro is lost if you do not save it.
The current view identifies a specific console and the Operations Server that hosts the console. When you create a new macro, the Macro Editor saves the macro to the installation-data-folder\os2200-macros folder on the Operations Server.
Using a Text Editor of Your Choice
You can also create a macro using a text editor of your choice.
To create a macro
Open your selected text editor.
Type the macro's commands in the workspace.
Save the new macro with a .macro extension.
Import the macro to the desired console using the OS 2200 Macro Maintenance dialog window in OS 2200 Console Manager or copy the macro into the installation-data-folder\os2200-macros folder on the desired Operations Server using Windows Explorer.
See the OS 2200 Console Manager Help for more information.
Notes:
You can use Macro Maintenance in OS 2200 Console Manager or Windows Explorer to copy a macro from one Operations Server to another.
To create a macro on a different Operations Server, open a view to a console that is hosted on that Operations Server.
If the Macro Editor is already open, click New on the File menu to create a new macro.
All macros must have a .macro extension.
Each command (line) in the workspace must be 69 characters or fewer. The workspace can contain only printable ASCII characters.