× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In programming realm, there's also a C's qsort function.  Works quite well 
and if you use ILE is usable in any HLL.

Elvis

-----Original Message-----
Subject: Re: SORT on the iSeries...

As others already mentioned there is the FMTDTA command, logical files, 
SQL, OPNQRYF, and the list goes on.  As you did mention COBOL SORT in your 
note I will add that there is yet another option -- the QLGSORT and 
QLGSRTIO System APIs which are what ILE COBOL is using under the covers. 
These APIs provide for a very rich sorting environment, and can be found 
in the System APIs section under the National Language Support category.

As a newbie to the System i, welcome and get used to finding out that 
there are typically many system provided ways to solve any one problem :-) 


Bruce Vining




"Michael Rosinger" <mrosinger@xxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
12/13/2006 08:38 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
midrange-l@xxxxxxxxxxxx
cc

Subject
SORT on the iSeries...






List,

This is an iSeries newbie question so please bare with me. We are getting 
started on the project of migrating applications (all batch) from VSE 
(mainframe) to iSeries. I was "told" by someone that is a long-time AS/400 

person that "there is no system sort on the iSeries". I find that very 
hard 
to believe. There must be some system provided sorting mechanism. I see 
that 
ILE/COBOL fully supports the SORT verb so that must be interfacing with a 
system-provided utility.

I searched for "sort" in the iSeries information center and could not find 

any explicit references to a sort program or utility.

Perhaps the person meant that there is no "sort program" that you can 
explicitly execute in batch (as you can in the VSE world). Could someone 
authoratively clear this up for me please? TIA


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.