: How works exactly the getmain Macro?
: --
: PVB
GETMAIN was the macro used on older (pre-ESA) versions of MVS for
dynamically obtaining areas virtual storage. A related macro, FREEMAIN,
was used to free the acquired storage areas when no longer needed.
These macros were superseded in MVS/ESA by the STORAGE macro (although
GETMAIN and FREEMAIN are still supported, they don't work well for modern
programs that take advantage of S/390 cross-memory mode).
You should refer to 'MVS Assembler Services Guide', 'MVS Assembler
Services Reference', and 'MVS Extended Addressability Guide' for specifics
about the STORAGE macro and for a better general understanding of virtual
storage management under MVS. For more in-depth, system-level treatments,
refer to 'MVS Authorized Assembler Services Guide' and 'MVS Authorized
Assembler Services Reference'.
--
| Edward E. Jaffe | Voice: (310) 338-0400 x318 |
| Mgr, Research & Development | Facsimile: (310) 338-0801 |
| 9841 Airport Blvd, Suite 700 | IBM Mail: USS24J24 at IBMMAIL |
| Los Angeles, CA 90045 | Phoenix BBS: Edjaffe (310) 417-8085 |