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 (April 2000, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 7 Apr 2000 16:16:43 -0400
Reply-To:     Yunlong Ma <yuman@HSC.VCU.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Yunlong Ma <yuman@HSC.VCU.EDU>
Organization: VIPBG, VCU
Subject:      Re: problem inputting raw data
Content-Type: text/plain; charset=us-ascii

Try this(tested),

data a; input iadmtx $1-11 clientid $ 12-21 site $23 client_i $ 25-32 pclient_ $ 34-42 birth_da $44-54 client $ 55-64 ;

Didn't see the data for d12a.

Hope this helps.

regards,

YM

"T. Flannery" wrote:

> I hate to bother everyone with such a novice question, but I'm > losing big patches of hair over this. Can anyone correct my > input statement to read the follow raw data excerpt? > > TIA > > Flannery > > data a; > * infile cards missover truncover; > input iadmtx ddmmyy10. clientid $ 12-21 @23 site $ client_i $ 25- > 32 pclient_ $ 34-42 > birth_da ddmmyy10. client $ 55-64 @66 d12a ddmmyy10.; > cards; > 02/06/1996 600397 2 600397 > 03/17/1997 > 07/03/1996 600397 2 02-00897 600397-52 11/18/1968 600397 > 05/27/1996 > 11/20/1995 615435 2 02-00702 13076-52 03/20/1971 615435 > 11/28/1995 > 08/27/1998 615435 2 615435 > 11/28/1995 > 05/22/1995 CEC0418560 7 07-00156 CEC041856 04/18/1956 CEC0418560 > 08/28/1995 > 03/06/1998 CEC0418560 7 CEC0418560 > 08/28/1995 > 03/03/1997 CLS1020650 7 CLS1020650 > 09/04/1998 > 03/03/1997 CLS1120650 7 CLS1120650 > 10/08/1998 > 08/17/1995 FAD0602750 7 FAD0602750 > 10/13/1998 > 08/18/1995 FAD0602750 7 07-00247 FAD060275 06/02/1975 FAD0602750 > 08/17/1995 > 09/06/1995 KRI0715660 7 07-00286 KRI071566 07/15/1966 KRI0715660 > 08/06/1996 > 08/05/1997 KRI0715660 7 KRI0715660 > 05/28/1998 > 09/18/1997 TLL0117720 7 TLL0117720 > 01/30/1998 > 03/27/1998 TLL0117720 7 TLL0117720 > 08/11/1998 > ; > run; > > * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * > The fastest and easiest way to search and participate in Usenet - Free!


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