Thanks folks, but I answered my own question.
The MOD function returns the remainder when two numbers are divided.
By creating a counter, then using the mod function...
if mod(counter,2)=0 then output;
I get only the even numbers.
> -----Original Message-----
> From: Shilling, Brian [PRI]
> Sent: Wednesday, February 07, 2001 1:54 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Even vs Odd
> Does anyone have a quick way of testing whether a number is even or odd?
> I know this can't be hard, but I can't get my snow-logged brain around it.