Randy Schleicher wrote:
[snip]
> Does COBOL pass the buffer to the sub-program by memory reference? In
> other words, all that is passed is a memory reference to the buffer
that
> both the calling program and sub-program access. I am thinking yes.
Yes.
> Does the DEPENDING clause and value in MESSAGE-LENGTH determine the
> actual allocation of memory?
No.
> Or is memory allocated to the maxium in the OCCURS no matter what the
> value of MESSAGE-LENGTH?
Yes.
Walter
Walter J. Murray
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *