|
Hi Annette, Welcome to SAS
see the onlinedoc.
If for some reason, you don't have it installed, as
a user of The SAS System you should be free to
register to access the copies at the SAS Institute.
There, the OnlineDoc is available, at :-
http://v8doc.sas.com/sashtml/
look into
SAS OnlineDoc
Base SAS Software
SAS Language Reference: Dictionary
Dictionary of Language Elements
Statements
INFILE
and discover the infile option you need,
LRECL=
While there, you might enjoy the many examples offered
Datum: 09/09/2002 14:04
An: SAS-L@LISTSERV.UGA.EDU
Antwort an: anne5432@uni.de
Nachrichtentext:
Hi,
Im am trying to read in data in format list. All goes well except for
the last variable (length=5). Its last two digits are systematically cut
off, only the first three digits remain.
............
@245 QUEST245 1.
@247 QUEST247 1.
@248 QUEST248 1.
@250 QUEST250 5. ;
datalines ;
.........
Has SAS reached the maximum length for data lines in the INPUT
statement, or is there a workaround to save the last two digits of the
last variable? Thank you very much in advance, and have a nice weekend!
Annette
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
|