here is the sample that i want to ask: FOR EACH table-name.... NO LOCK BY (IF TRUE THEN sort-this ELSE sort-that + sort-that2). END. This would result in an error. Continue reading...