Date: Tue, 30 May 2006 20:08:40 +0000
Reply-To: iw1junk@COMCAST.NET
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ian Whitlock <iw1junk@COMCAST.NET>
Subject: Re: Label
Ran,
There is a misunderstanding somewhere. Try running
data w ;
q1_1 = 2 ;
label Q1_1='1.The children in my family fight with each other' ;
lbl = vlabel(q1_1) ;
put lbl= ;
run ;
libname q "c:\junk" ; *<<< May need correction ;
data q.w ;
set w ;
run ;
data _null_ ;
set q.w ;
test = vlabel(q1_1) ;
put test= ;
run ;
proc contents data = q.w ;
run ;
You should find your complete label both on the log and listing. Then you
might run a similar test on your data using OBS=1. If you get the result
that you describe, then you will have to show code on SAS-L in a simple
situation that recreates your problem.
Ian Whitlock
================
Date: Tue, 30 May 2006 11:34:01 -0400
Reply-To: Ran S <raan67@YAHOO.COM>
Sender: "SAS(r) Discussion"
From: Ran S <raan67@YAHOO.COM>
Subject: Re: Label
Toby,
Its not even that big for eg:
label Q1_1='1.The children in my family fight with each other'
and in the dataset I see the label as:
'1.The children in my family fight with'
When I am creating a temp dataset..I can see the lables fine. But as soon
as I create a premanent dataset it truncates the lable.
Why its differnet in the permanent dataset I cannot understand.
Thanks!
|