×
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.
+1
Paul Nelson
Cell 708-670-6978
Office 512-392-2577
nelsonp@xxxxxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark S Waterbury
Sent: Wednesday, September 25, 2013 2:26 PM
To: Midrange Systems Technical Discussion
Subject: Re: Sort input file by arbitrary position/length
So, then, ust use FMTDTA.
On 9/25/2013 3:17 PM, Zak Metz wrote:
I can confirm that the OPNQRYF as I presented it does work. The Cobol
reads the file by the key I specified. My problem remains, that if the input
file is externally defined with multiple fields, I have no way to determine
within which field my desired sort position/length exists, so I can't simple
use a position/length as in my example. Again, that works fine if the file
has a single, long field. Also to reiterate, the file itself is not keyed.
Perhaps we should not be using the term keyed, but rather emphasizing that I
want to read the file, in Cobol, sorted by an arbitrary position/length
known only at run time.
As an Amazon Associate we earn from qualifying purchases.