HP3000-L Archives

January 2007, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Walter J. Murray" <[log in to unmask]>
Reply To:
Walter J. Murray
Date:
Wed, 24 Jan 2007 21:41:09 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
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 *

ATOM RSS1 RSS2