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


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

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

Re: How to sort in rexx


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
Global moderator
Posts: 811
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Return to CLIST & REXX


  • Related topics
    Last post