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 strongm 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
Mar 15, 2002
1
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

Replies
5
Views
255
  • Locked
  • Question
Replies
4
Views
189

Part and Inventory Search

Sponsor

Back
Top