I have two files. I need to compare date variables of these two files. When i declared two variables for two files and when compared the dates... the data in the first datastep is having value but when it comes to another datstep it is showing .(missing value).
Joined: 06 Jun 2008 Posts: 881 Location: Atlanta, GA
The missing value in SAS (period) means that the numeric variable did not have a number read in the position(s) you specified. Please post the SAS code and the error messages in the SASLOG for more help.
Joined: 06 Jun 2008 Posts: 881 Location: Atlanta, GA
It will always say that ... you've got a DATA step followed by a DATA step. Unless you link the two, the data read in the second step has no relationship to the data read in the first step. From your code, what I think you need to do is:
Code:
DATA REIN_ACDC;
IF _N_ = 1 THEN SET PARM_CARD;
RETAIN CYC_DT_X;
INFILE REINACDC EOF=TOTALS;