home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!sun-barr!olivea!hal.com!decwrl!deccrl!news.crl.dec.com!rdg.dec.com!adserv.enet.dec.com!winalski
- From: winalski@adserv.enet.dec.com (Paul S. Winalski)
- Newsgroups: comp.os.vms
- Subject: Re: fast sort routine
- Message-ID: <1992Sep4.220631.17083@rdg.dec.com>
- Date: 4 Sep 92 22:06:31 GMT
- References: <1992Sep3.235531.7036@macc.wisc.edu>
- Sender: news@rdg.dec.com (Mr News)
- Reply-To: winalski@adserv.enet.dec.com (Paul S. Winalski)
- Organization: Digital Equipment Corporation, Nashua NH
- Lines: 16
-
-
- In article <1992Sep3.235531.7036@macc.wisc.edu>,
- johnson@uwmfe.neep.wisc.edu (Bob Johnson) writes:
- |>
- |>Does anybody have a very fast sort routine like the DCL SORT command?
- |>I need a program to sort 150000 numbers. I can write them to a file and
- |>spawn SORT and then read them in again, but this seems to be a waste of
- |>time. I cannot find a way to call the SORT routine from a program without
- |>the use of files. Thanks.
-
- VMS SORT can be called from within programs as well as from DCL. If you use
- the callable interface, you can supply your own routines to provide records to
- the sort and to get back the sorted results. See the SOR$ facility in volume
- 3 of the VMS Programmer's Reference.
-
- --PSW
-