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 (March 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sat, 22 Mar 2008 12:27:21 -0700
Reply-To:     "Virtual SAS(r) Users Group" <sfbay0001@AOL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Virtual SAS(r) Users Group" <sfbay0001@AOL.COM>
Organization: http://groups.google.com
Subject:      Re: SAS variables greater than 200 characters
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=UTF-8

Starting in SAS Version 8 character variables can have a length of up to either 32000 or 32767 bytes, I can't remember which. Does that help?

Andrew Karp Sierra Information Services www.SierraInformation.com

On Mar 22, 11:15�am, vikram.vaidyanat...@GMAIL.COM (VV) wrote: > Hi, > > I have a variable that is greater than 200 characters long that I would > like to read into SAS. > > While reading into SAS, I would like to split this variable into 2 > variables: VAR1 (containing the first 200 characters) and VAR2 (Containing > the reamining characters). > > Also I want to make sure that if the 200th character is in the middle of a > word, I dont want to have the word split between VAR1 and VAR2. I want to > capture the portion before the whole word in VAR1 and then the remaining > part in VAR2. Is there a smart way to do this in SAS? > > Thanks, > VV


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