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:
1. Copy the first part of the source into a file (e.g., TEXT.TMP)
2. Append the second part of the source for TEMPLATE.CMD to that file
3. Append the third part of the source for TEMPLATE.CMD to that file
4. Append the fourth part of the source to that file
5. Delete the leading empty lines and blanks from the newly created
file TEXT.TMP
6. Rename TEXT.TMP to LOADMAC.CMD