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 (May 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 29 May 2008 07:18:46 -0700
Reply-To:     karma <dorjetarap@GOOGLEMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         karma <dorjetarap@GOOGLEMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: How do I convert string of Hex to Character
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

On 29 May, 14:14, sash...@BELLSOUTH.NET (Paul Dorfman) wrote: > On Thu, 29 May 2008 04:06:45 -0700, David in the UK <xf...@YAHOO.COM> wrote: > > >I have a dataset that contains a variable of length > >360 and format $hex720. How do I convert this into a > >series of 360 values, can I use substr and an array? > > >Thanks in advance, > > >David > > David, > > This is a classic case of APP (ADDR/PEEK/POKE) class of functions > application. Below, it is assumed that your variable is called var360: > > data new ; > set old ; > array var [360] $ 1 ; > call pokelong (var360, addrlong(var360), 360) ; > run ; > > You can find much more on that and related things at > > http://www2.sas.com/proceedings/sugi29/264-29.pdf > > and subsequent incarnations of the paper. > > Kind regards > ------------ > Paul Dorfman > Jax, FL > ------------

nice paper :D thanks for the info.


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