|
-----Original Message-----number
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Mark S. Waterbury
Sent: Tuesday, September 13, 2011 3:08 PM
To: Midrange Systems Technical Discussion
Subject: Re: QLGSORT and CPF3BD6 - Key field 01 is not valid for key
1defined
Hi, Rick:
Why not just use the FMTDTA command to sort the file into the desired
sequence _before_ you open it and attempt to process the data contained
therein...?
HTH,
Mark S. Waterbury
> On 9/13/2011 3:18 PM, Rick.Chevalier@xxxxxxxxxxxxxxx wrote:
I have been banging my head against this message for a couple of hoursnow without any success.
I am trying to sort a flat file based on positions in the record and
lengths. Specifically, the output of a Unix list directory command pipedto an
output file. I found several examples of sorting subfiles but nonesorting flat
files. I did make some discoveries and have made tweaks based on what Iis
found but I still keep coming up with this error.
http://code.midrange.com/84149fae5e.html
This is the relevant code (I think)
Rick Chevalier
Sr. Programmer/Analyst | Software Solutions - Loan Servicing
[cid:image001.gif@01CC721F.21A1B460]
817-525-7178 (w)
________________________________
Privileged and Confidential. This e-mail, and any attachments there to,
intended only for use by the addressee(s) named herein and may containin
privileged or confidential information. If you have received this e-mail
error, please notify me immediately by a return e-mail and delete thise-mail.
You are hereby notified that any dissemination, distribution or copying ofthis
e-mail and/or any attachments thereto, is strictly prohibited.list
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.