Reading in the CompuStat financial statement database, I have the following variable: However, when I execute the following code, zero observations are identified (and I've verified in the dataset that observations should have been identified): DATA TEST02; Set TEST01; If DataDate > 201231; Run; However, when I execute the following code based on integers using the 1/1/1960 date convention, I receive the correct number of observations: DATA TEST02; Set TEST01; If DataDate > 22281; Run; Why is SAS considering this the 1/1/1960 convention when the format is YYMMDD8, and how do I treat this as YYMMDD8 as it is indicated in the attributes? The column attributes are identical for the original dataset and the TEST02 dataset. Thank you in advance for your assistance.
... View more