You can use the following macro as an example for creating your own macros. The macro file you create must have a .macro extension.
This example, named SPO.sample.macro, illustrates how to send a set of related facilities status inquiry commands to the OS 2200 host. The specific keyins in the macro are
FS,IP FS,IOP FS,MEM FS,FDISK FS,RDISK FS,CACHE
After you enter in the keyins, execute the macro using one of the following methods
Click the Execute button on the toolbar
Press F5
Click Execute on the Tools menu
You can also find this example in the installation-data-folder\os2200-macros folder on the Operations Server that hosts the console.