Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting Dates

Status
Not open for further replies.

shamilton

Programmer
Joined
Mar 15, 2002
Messages
1
Location
US
I am to write a Rexx program that will sort a list of dates (located in a text file, entered at the command line) in ascending order beginning with the year, then month, then day. The dates in the text file will be integers in the format: DD (space) MM (space) YYYY, and each date will be on a separate line. I am a total newbie to Rexx, so any assistance with this would be much appreciated!

Thanks,
Seth
 
A good sort routine is in Charles Daney's book on REXX.

bobh
 
Why you don't call DFSORT. Need an example? (ServiceProfessional@web.de)
Don't do EVERYTHING in REXX, even it is possible. to sort several 10000 records you will have a very expensive result (about CPU-time).

Heinz
 

One thing about Syncsort; you can write the exit pgms in REXX. This is very handy in
some cases.

bobh
 
Status
Not open for further replies.

Similar threads

  • Locked
  • Question Question
Replies
5
Views
920
  • Locked
  • Question Question
Replies
4
Views
733

Part and Inventory Search

Sponsor

Back
Top