----------------------------<snip>-------------------------------
In C, the main program acquires the stack and heap as part of early
initialization. We do something similar in our assembler programs as do
(I'm sure) most savvy programmers.
---------------------------<unsnip>----------------------------
I tried to do MOST storage management in the first CSECT of ARCHIVER
(CBT File 147) as well. Most of my save areas are stacked in a single
area. (Someday I'll get around to determining how deep they're really
stacked <G>) Most of the GETMAIN/FREEMAIN activity after that point is
related to I/O buffers and compression/compaction work areas. I even
wrote a set of subroutines to emulate QUIKCELL management, 'cuz I didn't
have it in my system yet. Didn't use it in ARCHIVER but used it in
several other routines.
And I agree: I don't like "absolutes" very much myself. Thay can have a
nasty habit of turning around and biting you, right in the posterior,
when you least expect it.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html