Date: Thu, 8 Sep 2005 15:18:06 -0700
Reply-To: Jerry <zhiweiwang@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jerry <zhiweiwang@GMAIL.COM>
Subject: How to input data from different column for different rows
Content-Type: text/plain; charset="iso-8859-1"
I am wondering if there is a way to use "input" statement to read in
data that are in different columns.
For example, if I have the following data:
77343 A XX XX
2 7 B XX XX
2 2 2 c XX XX
I want to start reading in the data from the letters, i.e. the first
variable value for each obs will be A, B, and c respectively. However,
A, B, C are not in the same column. The data before A, b, and c is
really a mess so you can't use list\formatted input.
I am new to SAS. please forgive me if this question is stupid.
Thank you in advance.