From: Sally Muller on
All,

With the program below it appears that either MISSOVER or TRUNCOVER work
equally well. In both the "Little SAS Book" and Cody's "Learning SAS by
Example" the authors seem to imply to use MISSOVER with list input and
TRUNCOVER with formatted input.

Is this a hard and fast rule or is it the case that you can use missover and
truncover with either?

Thanks much!

Sally Muller



data four_dates;
infile datalines truncover; /* missover appears to work the same */
input @1 Subject $3.
@5 DOB mmddyy10.
@16 VisitDate mmddyy8.
@25 TwoDigit mmddyy8.
@34 LastDate date9.;
format DOB VisitDate date9.
TwoDigit LastDate mmddyy10.;
datalines;
001 10/21/1950 05122003 08/10/65 23Dec2005
002 01/01/1960 11122009 09/13/02 02Jan1960
003 03/ 10052009 12/01/08
004 06/24/2000 06122007 09/11/60 24AUG2009
run;

proc print;
run;
 | 
Pages: 1
Prev: PROC SQL Error
Next: MISSOVER or TRUNCOVER?