Remove the order by and tell them to sort the data in SAS. Adar Yechiel Rechovot, Israel Kellyn Pedersen wrote:
IQuery with a order by that MUST be done in Oracle as the file is an output to a dataset in SAS.