HP3000-L Archives

October 2002, 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:
"Rao, Raghu" <[log in to unmask]>
Reply To:
Rao, Raghu
Date:
Thu, 3 Oct 2002 15:05:49 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
Hi all,

Is there anyway that I can SORT a RECORD in a COBOL program (without using a
FILE).

I have a working storage record BUFFER-DATA of 160 bytes which occurs 1000
times as an array. I have my key values as Account (first 12 char) and
Invoice (next 10 Char). I am reading my data from database through DBGET,
processing it and moving it into buffer. This data is not sorted. I would
like to sort it based on Account and then on Invoice.

How do I sort this BUFFER-DATA ? Any idea ?

Thanks

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

ATOM RSS1 RSS2