Hi Patrick, You cannot create a view using fedsql in CAS,i was unable to pull data from CAS to SPRE evnrionment.alternatively you can create a CAS/Inmemory Table instead and load the max value in that table, but my need is to get max key from 250 Million records ( which is CAS table) and this took 48 mins. So what i did was i store the max key value in variable in the CAS table , and used Call Symput() to call it in the macro, where i wanted. I have never used fedsql to perform a max operation in a CAS,but suprising while i did run fedsql it was scanning 250 Million records it took 48 mins, that is not something i would expect with inmemory tables, they are suppose to fast in processing.
... View more