× 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.



Jeff
I use the technique shown below. Like Booth, I don't use QSORT either.

D                 ds 
D Record                       100     Dim(500) Descend 
D   Recd                         7  0  Overlay(Record) 
D   Grno                         7  0  Overlay(Record:*Next) 
D   Qty                          7  0  Overlay(Record:*Next) 
D   AQL                         12     Overlay(Record:*Next) 
D   Status                       1     Overlay(Record:*Next) 
D   InspDate                     6  0  Overlay(Record:*Next) 
D   #Note                       60     Overlay(Record:*Next) 

D   i            S               4  0  Inz(0)
D   n            S               4  0  Inz(0)

/free
   // Load array here.
    ............
   // i = number of elements used in array, so we're
   // only sorting the portion we have filled.
  Sorta %SubArr(Grno: 1: i); 

   For n = 1 to i; 
       pGRN#    = Grno(n); 
       pQty     = Qty(n); 
          // etc.
       Write Detail;
   Endfor;
/end-free







This e-mail and any files transmitted with it may be privileged and
confidential and intended solely for the use of the individual or
entity to which it is addressed.  If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
e-mail in error, please notify the sender immediately by replying
to this e-mail and deleting it from your computer.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.