Of course that is possible, and it is an option that I am aware of. It's just not as immediately usable as a control-card-only solution would be.
Peter -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Christopher Y. Blaicher Sent: Wednesday, September 16, 2020 8:28 PM To: [email protected] Subject: Re: SORT selection question You could also use an E15 and return an 8 when you get past the interesting data. Chris Blaicher Technical Architect Precisely.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Peter Van Dyke Sent: Wednesday, September 16, 2020 8:20 PM To: [email protected] Subject: Re: SORT selection question Hi Peter, If you have IBM File Manager you could do what you need with the Data Set Copy (DSC) function and an enhanced processing procedure: $$FILEM DSC INPUT=DDIN, $$FILEM OUTPUT=DDOUT, $$FILEM PROC=* IF FLDI(1,3,C,'GT',"ABC") THEN RETURN STOP IMMEDIATE /* Stop processing */ /+ Regards, Peter Van Dyke On Thu, 17 Sep 2020 at 07:32, Paul Gilmartin < [email protected]> wrote: > On Thu, 17 Sep 2020 08:58:59 +1000, Wayne Bickerdike > <[email protected]> > wrote: > > >Not sure how a sequential file has a "KEY". It may be a value in > >fixed columns. > > > I find "KEY" used apparently in that sense in numerous places in: > z/OS Version 2 Release 4 DFSORT Application Programming Guide IBM > SC23-6878-40 > > >I'm sure it's why we've been sorting files for donkeys years. > -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
