Date: Tue, 31 May 2011 19:02:06 -0400
Reply-To: Nat Wooding <nathani@VERIZON.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <nathani@VERIZON.NET>
Subject: Re: SAS informat for this COBOL picture "9(7)V999" with length of
10?
In-Reply-To: <201105312010.p4VJAlWT026447@waikiki.cc.uga.edu>
Content-Type: text/plain; charset="US-ASCII"
I just reread this post. When you look at the txt file, do you see the
number that you would expect as in
123456.890
Meaning 9 digits and a decimal? If so, COBOL has long since stopped being
part of its life and a format of 10.3 should read it.
Nat Wooding
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Jerry
Sent: Tuesday, May 31, 2011 4:11 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: SAS informat for this COBOL picture "9(7)V999" with length of 10?
Hi,
I am trying to read into SAS (on Windows) a column with COBOL picture of
"9(7)V999" and a length of 10 (from a .txt file), I guess the corresponding
SAS informat should be 10.3
But I really don't know much about COBOL picture, so could any expert
confirm whether or not the correct corresponding SAS informat should be 10.3
for this COBOL picture? If not, what is it then?
Thanks!
|