| Date: | Thu, 12 Jan 2006 10:22:17 -0600 |
| Reply-To: | Jiann-Shiun Huang <Jiann-Shiun.Huang@AMERUS.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Jiann-Shiun Huang <Jiann-Shiun.Huang@AMERUS.COM> |
| Subject: | Re: input |
|
| Content-Type: | text/plain; charset=US-ASCII |
Dirk:
In the first line of your INPUT statement, you have
@113cgdp
It looks like there is no space between 3 and c above.
J S Huang
1-515-557-3987
fax 1-515-557-2422
>>> Dirk Nachbar <Dirk.Nachbar@DWP.GSI.GOV.UK> 1/12/2006 10:08:54 AM
>>>
dear all
i have a fairly large table with many variables (Penn World tables for
those of
you who know it). I want to read in the data but it always gives me
uncomprehensible error messages from the start. see example/extract
below and
try to paste it into SAS. I cannot see the error.
Dirk
DATA penn.pwttest;
INPUT @1 country $ @28 isocode $ @45 yr @62 POP @79 XRAT @96 PPP
@113cgdp
@130 cc @147 ci
@164 cg @181 p @198 pc @215 pg @232 pi @249 openc @266 cgnp @283
csave
@300 y @317 rgdpl
@334 rgdpch @351 rgdpeqa @368 rgdpwok @385 rgdptt @402 openk @419 kc
@436 kg
@453 ki
@470 grgdpch ;
;
CARDS;
Angola AGO 1950 .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
Angola AGO 1951 .
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
;
run;
Dirk Nachbar
Assistant Economist
Pensim2
Department for Work and Pensions
Level 4, The Adelphi
1-11 John Adam St
WC2N 6HT London
020 796 28531
**********************************************************************
This document is strictly confidential and is intended only for use by
the addressee.
If you are not the intended recipient, any disclosure, copying,
distribution or other
action taken in reliance of the information contained in this e-mail is
strictly prohibited.
Any views expressed by the sender of this message are not necessarily
those of the Department
for Work and Pensions.
If you have received this transmission in error, please use the reply
function to tell us
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely
monitored for compliance
with our policy on the use of electronic communications.
**********************************************************************
The original of this email was scanned for viruses by the Government
Secure Intranet (GSi) virus scanning service supplied exclusively by
Cable & Wireless in partnership with MessageLabs.
On leaving the GSi this email was certified virus-free
|