Using XEDIT Command
You could also add members to a macro library using the MEMBER option of the XEDIT command for a member that does not exist in the library. A new file is created with the file ID of membername MEMBER fm.
For example, you can add a new member TEST5 to the TESTMAC MACLIB
by entering:
xedit testmac maclib (member test5
When you
issue the FILE or SAVE command for this new member, the TESTMAC MACLIB
directory is updated. The new member and the updated library directory
are added to the end of the library. If the directory already contains
a member with the same name as the one being saved, the old entry
is blanked out, so that the updated member replaces the old version.