Date: Fri, 2 Oct 1998 14:43:09 -0400
Reply-To: gspatel@PEPCO.COM
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Girish Patel <gspatel@PEPCO.COM>
Subject: Re: Help with informat.
Content-type: text/plain; charset=us-ascii
IT SEEMS TO ME, YOU NEED TO USE " ZD11." AS SHOW BELOW TO READ
IT.........................
data a;
input x $ 1-11 ;
cards;
0000000000{
0000002984G
0000002984G
0000001809H
0000000904I
0000001809H
0000002984G
0000000852A
0000001704B
0000002984G
0000002984G
0000002984G
0000002984G
0000002984G
0000002984G
0000000852A
0000001704B
0000001989H
0000001989H
0000001989H
0000002594G
;
run;
data b;
set a;
XX=input(x,ZD11.);
run;
proc print;
run;
Stephen Dybas <skd02@HEALTH.STATE.NY.US> on 10/02/98 01:52:02 PM
Please respond to Stephen Dybas <skd02@HEALTH.STATE.NY.US>
To: SAS-L@UGA.CC.UGA.EDU
cc: (bcc: Girish S Patel/TEB/CEC)
Subject: Help with informat.
Dear SAS-L's
I received the following data from an insurer who claims the data is in
signed format ( the last character represents a number and sign). Could
you
tell me which SAS informat would give me the proper translation? If the
data
were normal I would have read it in with an informat of 11. ( w.d ).
Thanks,
Steve Dybas ( skd02@health.state.ny.us )
[sample data follows]
0000000000{
0000002984G
0000002984G
0000001809H
0000000904I
0000001809H
0000002984G
0000000852A
0000001704B
0000002984G
0000002984G
0000002984G
0000002984G
0000002984G
0000002984G
0000000852A
0000001704B
0000001989H
0000001989H
0000001989H
0000002594G