Hi Just wanted to see, mostly out of curiosity, what the experts think of below and this is also my first post so hoping I get it right 🙂 So was recently asked by a colleague to help investigate why his proc fedsql did not want to work. After some time playing around with the code I realised that the variable named "Result" was causing the Proc FedSQL to error. Changing the variable to anything other (except the word "value") on the same code seems to work fine. So just wondering is the words "Result" and "Value" reserved within the CASL language? I'm assuming it must be something along the lines if the Proc Fedsql converts the statements into CASL that it errors. Below the error message and some sudo code that does the same. 82 proc fedsql sessref=auto; NOTE: FEDSQL: Running on CAS due to "sessref". 83 select count(result) 84 from CASUSERHDFS.cars_test; NOTE: Added action set 'fedsql'. action returned string actionset = fedsql NOTE: CAS action completed [OKAY] FEDSQL: load of action set returned rc=00000000 ERROR: Syntax error at or near "result" ERROR: The action stopped due to errors. ERROR: The FedSQL action was not successful. FEDSQL: The fedsql.execDirect action returned rc=0x000003f4 NOTE: PROC FEDSQL has set option NOEXEC and will continue to prepare statements. 85 quit; cas auto; options casdatalimit=all msglevel=i; libname casuser cas caslib="CASUSERHDFS"; data casuser.cars_test; set sashelp.cars; result=horsepower/cylinders; run; proc fedsql sessref=auto; select count(make) from CASUSERHDFS.cars_test; quit; proc fedsql sessref=auto; select count(result) from CASUSERHDFS.cars_test; quit;
... View more