Cynthia, I am not sure if the code that you've given above would yield the same results as the code given in my original post. My question says ' how many observations will be data set WORK.ONE? And if I run the count(as suggested by PGStats) then it is 8 observations of Var A that would go into WORK.ONE. On the other hand,I did run the code that you gave, and what the DATALINES statement did was simply produced the same results as given in the code and total number of observation that the LOG gave were 5. So different results! thanks , anyways! Gavy
... View more