HP3000-L Archives

May 2005, Week 1

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:
Greg Stigers <[log in to unmask]>
Reply To:
Greg Stigers <[log in to unmask]>
Date:
Thu, 5 May 2005 18:21:32 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
It's not clear to me what the goal is, or if efficiency is a concern, but if
it is, you might want to benchmark against:

01 WS-A.
    05 WS-B       pic 9(04).
01 WS-C           pic 9(04).
...
MOVE 3 TO WS-B.
MOVE WS-B TO WS-C.
...
DISPLAY " A:" WS-A ":"
DISPLAY " B:" WS-B ":"
DISPLAY " C:" WS-C ":"

Part of what is interesting about COBOL is what you can do with how you
define your data structures, to simply or reduce computation and increase
efficiencies.

Greg Stigers

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

ATOM RSS1 RSS2