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



Doug,

 The question was regarding this specific line:
IAC 9 16NEF 17 24 <--------------- There's the line I'm not sure 

 What does the "F" represent?  The SEU help text doesn't list it as a valid
value.

 -mark

Original Message:
-----------------
From: Douglas Handy dhandy@xxxxxxxxx
Date: Fri, 11 Aug 2006 10:01:29 -0400
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Need help about an OCL


Charles,

     HSORTA    27A        3        N
I asked to a more experimented programmer at the office and he said that
it's the first time he sees this kind of syntax in a SORTA...

Can someone help me?


The H means it is a header line to #GSORT.  The SORTA means it is a record
address sort.  That is, the output file is a list of RRN's, not the actual
data itself.  Each RRN is a 3 byte binary value.  The 27 means there is a
maximum of 27 bytes used for collating comparisons, and the A means they
should be in ascending order.  The 3 means the output file record length is
3 (the binary RRNs), and the N means the sort fileds should not be placed in
the output record.

Normally, when SORTA is used, the following program will be using the cycle
with the sort input file listed as a primary or secondary, but with the
F-spec option to process the file via a record address file.  Then there is
a second F-spec entry for the SORTA output file, which supplies the sequence
of the RRNs to be processed.

In S/3x days, those were 3-byte binary values.  In RPG ILE, it uses 4-byte
RRNs instead to avoid overflow on larger databases.

SORTA was used to reduce the amount of DASD consumed for temporary sorted
output.

Doug

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.