Tom is correct, of course.
On windows and Unix not all 16 digit numbers can be presented accurately. The rule is about size. (and notice that in Tom's examples, even numbers seem OK)
The SAS Companions for SAS on Windows and Unix, show that the highest integer up to which integers are presented reliably, is 9,007,199,254,740,992.
In "SAS 9.2 Companion for Windows, Second Edition", see
http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/numvar.htm#maxint
On the zOS platform the limit is higher at 72,057,594,037,927,936
So, on zOS platform there shouild be no problem holding and using a 16 digit number.
peterC
just to add that results from Toms data step are the same when run in unix (aix-64) Message was edited by: Peter.C