HP3000-L Archives

June 2004, Week 2

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:
Brian Donaldson <[log in to unmask]>
Reply To:
Brian Donaldson <[log in to unmask]>
Date:
Wed, 9 Jun 2004 14:09:45 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
Ray:

You can try adding the OPTIMIZE=1 option to the $control statement of your
Cobol programs and then recompile them.

This will give you a smaller executable file thus increasing the
performance of your programs.

Hope this might help you a little bit.

Brian Donaldson.

On Wed, 9 Jun 2004 09:49:51 -0500, Shahan, Ray
<[log in to unmask]> wrote:

>Hi all, and good morning!!
>
>        In an effort to squeeze out every last drop of 'oomph' from the
3k, we're reviewing some of the existing programs to see if we can do
anything to increase their performance.  One thing that I noticed in some
of the programs is that they have very large internal arrays (one prog has
two separate arrays that both have 9999 elements).  In the past, I've
always used the DEPENDING ON phrase to dynamically allocate the elements as
required (and to downsize the array when the elements were no longer
needed).
>
>         I have been told that using the depending on phrase no longer
matters since MPE (via the COBOL compiler?) will allocate the space
required for the upper limit of the array's size regardless of what the
array size variable contains.  I searched the archives, but did not see the
answer for this, so does anyone out there have the definitive answer?
>
>
>As always, TIA for your help,
>
>
>Ray Shahan
>
>Life is not a journey to the grave with the
>intention of arriving safely in a pretty and
>well preserved body, but rather to skid in
>broadside, thoroughly used up, totally worn out,
>and loudly proclaiming:
>
>        -- WOW!!!   What a Ride! --
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2