only one SORT clause can appear in an RSE Explanation: You included more than one SORTED BY clause in your RSE. This is not permitted. User Action: Specify all sort expressions in one sort list.