HP3000-L Archives

March 1997, 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:
"Dr. Ferenc Nagy" <[log in to unmask]>
Reply To:
Dr. Ferenc Nagy
Date:
Fri, 28 Mar 1997 14:21:36 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (45 lines)
On Thu, 27 Mar 1997, Mark Lindahl wrote:

>  I am looking to imbed sort routines into a COBOL program (other than
> using the SORT verb).  Does anyone know of internal sort subroutines
> that might be available?
>
> Thanks,
>
> Mark Lindahl
> Xantel, Inc.
> [log in to unmask]
>
Mark,

Look after the SORT.. intrinsics either in the Cobol or in the SORT/MERGE
manual. In the Pascal Manual you can find examples, how to use these
intrinsics.

The algorithm of their usage is the following:

SORTINIT
cycle for your input data:
     compose record to be sorted
     SORTINPUT
cycle for reading sort workfile:
   SORTOUTPUT
   print sorted record according to your taste
SORTEND

                                Regards, happy Easter,
                                I'll be on vacation from April 1 till 4.
                                             Frank

  |\  /~ ~~|~~~ Family : NAGY; first name : FERENC; title : Ph. D.
  | \ |   -+-   Institute of Isotopes of the Hungarian Academy of Sciences
  |  \|    |    1121 BUDAPEST Konkoly-Thege M. ut 29, HUNGARY (1525 Bp. POB 77)
`-'   '  `-'    E-mail : [log in to unmask]

Fax: (36)-1-395-9002, work phone: (36)-1-395-9123, home phone: (36)-1-277-4229.
            ^NEW!                        ^NEW!
Home address: H-1214 BUDAPEST Raketa u. 29. I. 3.

There are 3 kinds of programming errors:  syntactical, semantical and mystical.
The programmers have to suck up the users just as much as absolutely necessary.

ATOM RSS1 RSS2