Scott, Ditch the GETMAIN/FREEMAIN macros for STORAGE OBTAIN and STORAGE RELEASE. The former use SVCs; whereas STORAGE uses a PC. This means that STORAGE can be use in more environments than the older macros. For instance, in an SRB or when in cross memory mode (when the SYSSTATE macro is used properly).
-- This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you? Maranatha! <>< John McKown