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 (February 2004, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 29 Feb 2004 12:20:54 -0500
Reply-To:     Nathaniel_Wooding@DOM.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nat Wooding <Nathaniel_Wooding@DOM.COM>
Subject:      Re: Reading data having space
Comments: To: Anbu Arasu <aarumugam@STTHOMAS.EDU>
Content-type: text/plain; charset=us-ascii

Anbu

Use the & format modifier as below in the input statement. This and a couple other modifiers are described in the SAS Language section on modified list input.

Nat Wooding

data name;

informat name $12.; input name & ; datalines; John Smith David Sheperd Raj Singh ; proc print;run;

Anbu Arasu <aarumugam@STTHOM To: SAS-L@LISTSERV.UGA.EDU AS.EDU> cc: Sent by: "SAS(r) Subject: Reading data having space Discussion" <SAS-L@LISTSERV.U GA.EDU>

02/27/04 03:54 PM Please respond to Anbu Arasu

Is it possible to read the full name below, just by having on input variable in the input statement. I tried different options. It did not work. Help please This is the code.

data name; *infile datalines dsd delimiter=''; input name $ char12.; datalines; John Smith David Sheperd Raj Singh ;


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