LoadMAC.CMD is a REXX program to work with the macro space. LoadMac can load, query and drop macros. It can also load and save the whole macro space.
LoadMAC.CMD needs the new REXXUTIL DLL from Object REXX - but it don't need Object REXX as default REXX interpreter. It is also possible to use the MacroSpace functions from Dave Boll's excellent DLL RXU instead of the functions from the REXXUTIL DLL. In this case you must change the source code.
See Sample programs based on TEMPLATE.CMD on how to use this sample program. (see also The functions to work on the macro space and "Compiling" REXX programs for an usage example).
Here are the links to the sections needed to create the program: