Hi, Just migrate to SAS 9.4 , and tested some similar Code which consume a lot more time to process in SAS 9.4 The Code are generated from SAS Data Integration. There a slight different, in SAS 9.3 it has %let SYS_SQL_IP_SPEEDO = Y; %let SYS_SQL_MAPPUTTO = sas_put; %let SYS_SQLREDUCEPUT = DBMS; But , it automatically generated from SAS Data Integration Try to query from work.WCUST90 view , it resulted differently in 9.3 and 9.4 The count command : select count(1) from work.WCUST90; on SAS 9.3 consume 39 secs , while in SAS 9.4 it consume 9 hours!!! (On SAS 9.4 it has some warning : "The execution of this query involves performing one or more Cartesian product joins that can not be optimized." while in 9.3, it has no warning) Warning : the code quite long. Please give attention on the end of code : select count(1) from work.WCUST90 , because that was the major difference Attached files are the codes , and the logs. Please help.. Thanks Regards, Charlie
... View more