+-A-+ +-C-+ +-1-----+ >>-SysStemSort--(--stem--,--"--+-D-+--"--,--"--+-I-+--"--,--+-start-+--> +-1--------+ >--,--end--,--+-firstcol-+--,--lastcol--)-----------------------------><
Example 8.40. RexxUtil - SysStemsort
/* sort all elements descending, use cols 5 to 10 as key */ Call SysStemSort "MyStem.", "D", , , ,5, 10 /* sort all elements ascending, ignore the case */ Call SysStemSort "MyStem.", "A", "I" /* sort elements 10 to 20 ascending, use cols 1 to 10 as key */ Call SysStemSort "MyStem.", , ,10, 20, 1, 10