LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 6 Oct 2009 15:36:28 -0400
Reply-To:     Sally Muller <sallymuller@BELLSOUTH.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Sally Muller <sallymuller@BELLSOUTH.NET>
Subject:      MISSOVER or TRUNCOVER?
In-Reply-To:  <004459E91D18472E9A18D986748C3066@KAM1720>
Content-Type: text/plain; charset="us-ascii"

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;


Back to: Top of message | Previous page | Main SAS-L page