Recent disabling of ADDRLONG and PEEKLONG in SAS, but supported by Altair Personal SLC
DOES NOT WORK IN LATEST SAS
1 data null;
2 x=42;
3 a = ADDRLONG(x);
4 z = PEEKLONG(a, 8);
5 put x= a= z=;
6 run;
ERROR: The ADDRLONG function is not available beginning with SAS 9.4M9.
ERROR: The PEEKLONG function is not available beginning with SAS 9.4M9.
WORKS IN THE ALTAIR PERSONAL SLC
Unverified
247
4248 data null;
4249 x=42;
4250 a = ADDRLONG(x);
4251 z = PEEKLONG(a, 8);
4252 put a= hex16. z= hex16.;
4253 run;
A=F86ADEAEFA010000 Z=4045000000000000
NOTE: The data step took :
real time : 0.000
cpu time : 0.000
I feel this is a big loss because load and store are fundamental instructions
among the seven that can replicate any language's code.
This also allows sharing storage among applications?
https://support.sas.com/resources/papers/proceedings09/010-2009.pdf