Use more than one sort step. 

Hutchison, Gregory A.     
Oregon DOT DMVIS                
phone:503-945-7081 
fax:503-945-5220 
gregory.hutchi...@odot.state.or.us 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Richard Pinion
Sent: Tuesday, September 28, 2010 10:28 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: SORT question

That's what we have done.  We were hoping SORT would be able to do it.
We would rather use a system utility as opposed to writing our own code.

Richard, Vickie, and Randy Pinion

--- ahc5...@bjc.org wrote:

From: Al Cole <ahc5...@bjc.org>
To: IBM-MAIN@bama.ua.edu
Subject: Re: SORT question
Date:         Tue, 28 Sep 2010 12:22:44 -0500

What you want is a cobol program that uses a sysing parm file containing
the selection criteria variables.
 
Alfred Cole
BJC HealthCare
mailstop 92-92-117
8374 Eager Road Suite 200
St Louis, MO 63144

(314) 362-7837
ahc5...@bjc.org 



>>> "Richard Pinion" <rpin...@netscape.com> 9/28/2010 9:30 AM >>>
I have a large file that is sorted in ascending order by a date field,
YYYYMMDD.  I want to run a sort fields=copy with selection criteria
against this file.  One of the selection criteria is the date field.  I
would like the sort to terminate once the date field in the file is
greater than my selection date.  Is this possible?



_____________________________________________________________
Netscape.  Just the Net You Need.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html




_____________________________________________________________
Netscape.  Just the Net You Need.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to