Page 1 of 1

How to sort in rexx

PostPosted: Fri Jan 02, 2009 11:36 pm
by parthiban
Hi,

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

thanks,
Parthiban j

Re: rexx

PostPosted: Sat Jan 03, 2009 1:15 am
by MrSpock
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).