LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 15 Feb 2008 15:52:32 -0500
Reply-To:     "data _null_," <datanull@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "data _null_," <datanull@GMAIL.COM>
Subject:      Re: how to avoid truncating off end of variable ADDITIONAL INFO
Comments: To: Randall Powers <POWERS_R@bls.gov>
In-Reply-To:  <200802152032.m1FHTwV5019017@mailgw.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1

If you actually suceeded in changing the length verified with PROC CONTENTS then perhaps the FORMAT is $13. SAS is happy display values exactly as specified you may have created the variable correctly but are only seeing what is allowed by the format.

Or more likely you have not succeeded in changing the length.

Post some code.

On Fri, Feb 15, 2008 at 3:32 PM, Randall Powers <POWERS_R@bls.gov> wrote: > Hi, > > NOTE: PLEASE SEE ADDITIONAL INFO IN CAPS BELOW > > I have a previous variable ite. I've successfully created a variable > itex which uses ite. itex=est||app||substr(ite,11,3); I want the value of > ite to take in the value of itex. > > For examples: > > itex > > 281D--D0350001A01 > 281D--D0370002A02 > > When i use: > > ite=itex; > > ite becomes: > > 281D--035000 > 281D--035000 > > NOTE: VARIABLE ite PREVIOUSLY WAS OF LENGTH 13. THE NEW LENGTH IS 17, BUT > IT IS BEING TRUNCATED TO 13. > > How do I avoid this? > > Thanks! > > In other words >


Back to: Top of message | Previous page | Main SAS-L page