How to sort in rexx



IBM's Command List programming language & Restructured Extended Executor

How to sort in rexx

Postby parthiban » Fri Jan 02, 2009 11:36 pm

Hi,

How to sort dates or time in rexx programming...do you know any functions...Guide me pls...

thanks,
Parthiban j
Parthiban jayaraman
mainframe rexxer,
Banglore
parthiban
 
Posts: 66
Joined: Mon Oct 20, 2008 7:54 pm
Location: Bangalore-India
Has thanked: 0 time
Been thanked: 0 time

Re: rexx

Postby MrSpock » Sat Jan 03, 2009 1:15 am

The REXX language doesn't contain a SORT instruction or function. If the data resides in an external dataset, then you need to invoke your site's sort program (DFSORT or SYNCSORT). The only other option is to write your own SORT routine using a standard sort algrithm (Bubble Sort or Quick Sort, for example).
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post