Stores the contents of a memory address in a character variable on 32-bit and 64-bit platforms.
specifies a character constant, variable, or expression that contains the binary pointer address.
is a numeric constant, variable, or expression that specifies the length of the character data.
data _null_; x='ABCDE'; y=addrlong(x); z=peekclong(y,2); put z=; run;
z=AB
data _null_; length y $4; x220addr=put(220x,pib4.); ascb=peeklong(x220addr); ascbaddr=put(ascb,pib4.); y=peekclong(ascbaddr); run;
y='ASCB'