Date: Mon, 5 Dec 2005 10:51:32 -0500
Reply-To: "Michael S. Zdeb" <msz03@HEALTH.STATE.NY.US>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Michael S. Zdeb" <msz03@HEALTH.STATE.NY.US>
Subject: Re: Length of variable
In-Reply-To: <697B27DC3052C74FB9A3A3FACED43ED80C3D6F@njb-ms1>
Content-type: text/plain; charset=US-ASCII
Hi...the FORMAT has nothing to do with the LENGTH. The length is set
either in a LENGTH statement of by the INFORMAT used to read the variable
value. How did you read the data to create tha data set?
Mike Zdeb
U@Albany School of Public Health
1 University Drive
Rensselaer, NY 12144-3456
(P)518-402-6479
(F)630-604-1475
"Sridhar, Kumar"
<nsridhar@MEDAREX
.COM> To
Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU
Discussion" cc
<SAS-L@LISTSERV.U
GA.EDU> Subject
Length of variable
12/05/2005 10:48
AM
Please respond to
"Sridhar, Kumar"
<nsridhar@MEDAREX
.COM>
Hi all:
I have a dataset in which I defined the format for the
variable comment as $200. But when I see the length (thru' proc
contents) it has 202. I am just curious why the length is longer than
the format. I checked the length of the longest comment and found it to
be 200.
Any suggestions would, as always, be appreciated.
Regards
Kumar