This example shows a call to PLISRTB. The input is to be passed to Sort by the PL/I routine PUTIN, the sort is to be carried out on characters 1 to 10 of an 80 byte fixed length record. Other information as above.
CALL PLISRTB (' SORT FIELDS=(1,10,CH,A) ',
' RECORD TYPE=F,LENGTH=(80) ',
1048576,
RETCODE,
PUTIN);